cfq-iosched: get rid of the need for __GFP_NOFAIL in cfq_find_alloc_queue()
[deliverable/linux.git] / fs / binfmt_elf.c
index 9fa212b014a50448534cb8e2deb1ba193c4ed257..f1867900e4594bc041c2bbae58014bc32773d34c 100644 (file)
@@ -1929,7 +1929,10 @@ static int elf_core_dump(long signr, struct pt_regs *regs, struct file *file, un
        elf = kmalloc(sizeof(*elf), GFP_KERNEL);
        if (!elf)
                goto out;
-       
+       /*
+        * The number of segs are recored into ELF header as 16bit value.
+        * Please check DEFAULT_MAX_MAP_COUNT definition when you modify here.
+        */
        segs = current->mm->map_count;
 #ifdef ELF_CORE_EXTRA_PHDRS
        segs += ELF_CORE_EXTRA_PHDRS;
This page took 0.026719 seconds and 5 git commands to generate.