Re: [PATCH] coredump_filter: add hugepage core dumping

From: Roland McGrath
Date: Wed Sep 10 2008 - 02:07:41 EST


It was certainly not meant to be excluded from any documentation.

To make the description clear, MMF_DUMP_ELF_HEADERS applies when a
file-backed private mapping would otherwise be elided (based on the other
bits and whether it's been modified). If the vma maps offset 0 of the
file, and that page is readable and starts with ELFMAG, then just that
first page will be dumped. (So p_filesz will be PAGE_SIZE rather than 0
for an elided mapping, or p_memsz for a mapping dumped whole.)


Thanks,
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/