From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752993AbbJOUBf (ORCPT ); Thu, 15 Oct 2015 16:01:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36610 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751752AbbJOUBd (ORCPT ); Thu, 15 Oct 2015 16:01:33 -0400 From: Jeff Moyer To: Ross Zwisler Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Peter Zijlstra , Jonathan Corbet , linux-nvdimm@ml01.01.org, Ingo Molnar , Alexander Viro , linux-fsdevel@vger.kernel.org, Matthew Wilcox Subject: Re: [PATCH 0/2] Add explicit coredump filtering for DAX mappings References: <1444084417-19192-1-git-send-email-ross.zwisler@linux.intel.com> X-PGP-KeyID: 1F78E1B4 X-PGP-CertKey: F6FE 280D 8293 F72C 65FD 5A58 1FF8 A7CA 1F78 E1B4 X-PCLoadLetter: What the f**k does that mean? Date: Thu, 15 Oct 2015 16:01:30 -0400 In-Reply-To: <1444084417-19192-1-git-send-email-ross.zwisler@linux.intel.com> (Ross Zwisler's message of "Mon, 5 Oct 2015 16:33:35 -0600") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ross Zwisler 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