public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ross Zwisler <ross.zwisler@linux.intel.com>
To: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: linux-kernel@vger.kernel.org,
	Alexander Viro <viro@zeniv.linux.org.uk>,
	Ingo Molnar <mingo@redhat.com>, Jonathan Corbet <corbet@lwn.net>,
	Peter Zijlstra <peterz@infradead.org>,
	linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	Dan Williams <dan.j.williams@intel.com>,
	linux-nvdimm@ml01.01.org,
	Matthew Wilcox <matthew.r.wilcox@intel.com>
Subject: Re: [PATCH 0/2] Add explicit coredump filtering for DAX mappings
Date: Tue, 13 Oct 2015 16:54:15 -0600	[thread overview]
Message-ID: <20151013225415.GA25616@linux.intel.com> (raw)
In-Reply-To: <1444084417-19192-1-git-send-email-ross.zwisler@linux.intel.com>

On Mon, Oct 05, 2015 at 04:33:35PM -0600, Ross Zwisler wrote:
> 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.
> 
> [1] http://thread.gmane.org/gmane.linux.kernel.mm/139026
> 
> Ross Zwisler (2):
>   coredump: add DAX filtering for ELF coredumps
>   coredump: add DAX filtering for FDPIC ELF coredumps
> 
>  Documentation/filesystems/proc.txt | 22 ++++++++++++----------
>  fs/binfmt_elf.c                    | 10 ++++++++++
>  fs/binfmt_elf_fdpic.c              | 15 +++++++++++++++
>  include/linux/sched.h              |  4 +++-
>  4 files changed, 40 insertions(+), 11 deletions(-)
> 
> -- 
> 2.1.0

Ping?

  parent reply	other threads:[~2015-10-13 22:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-05 22:33 [PATCH 0/2] Add explicit coredump filtering for DAX mappings Ross Zwisler
2015-10-05 22:33 ` [PATCH 1/2] coredump: add DAX filtering for ELF coredumps Ross Zwisler
2015-10-05 22:33 ` [PATCH 2/2] coredump: add DAX filtering for FDPIC " Ross Zwisler
2015-10-13 22:54 ` Ross Zwisler [this message]
2015-10-15 20:01 ` [PATCH 0/2] Add explicit coredump filtering for DAX mappings Jeff Moyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151013225415.GA25616@linux.intel.com \
    --to=ross.zwisler@linux.intel.com \
    --cc=corbet@lwn.net \
    --cc=dan.j.williams@intel.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nvdimm@ml01.01.org \
    --cc=matthew.r.wilcox@intel.com \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox