Re: [PATCH 0/2] Add explicit coredump filtering for DAX mappings

From: Jeff Moyer
Date: Thu Oct 15 2015 - 16:01:38 EST


Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx> writes:

> Add two new flags to the existing coredump mechanism for ELF files to allow
> us to explicitly filter DAX mappings. This is desirable because DAX
> mappings, like hugetlb mappings, have the potential to be very large.
>
> The coredump code relies on get_user_page() to populate the coredump file
> with the appropriate data, and for DAX mappings this currently fails. This
> results in a hole being placed in the coredump file, so you end up reading
> back zeros. Once the get_user_pages() patch series from Dan Williams [1]
> is merged, DAX core dumps will give real data.
>
> I have a patch ready for core(5) to update the documentation on the new
> filtering flags. I'll send it out once this gets merged.

Looks straight-forward.

Acked-by: Jeff Moyer <jmoyer@xxxxxxxxxx>
--
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/