Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1240009 > unrolled thread
| Started by | Ross Zwisler <ross.zwisler@linux.intel.com> |
|---|---|
| First post | 2015-10-06 00:40 +0200 |
| Last post | 2015-10-15 22:10 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 0/2] Add explicit coredump filtering for DAX mappings Ross Zwisler <ross.zwisler@linux.intel.com> - 2015-10-06 00:40 +0200
Re: [PATCH 0/2] Add explicit coredump filtering for DAX mappings Ross Zwisler <ross.zwisler@linux.intel.com> - 2015-10-14 01:00 +0200
Re: [PATCH 0/2] Add explicit coredump filtering for DAX mappings Jeff Moyer <jmoyer@redhat.com> - 2015-10-15 22:10 +0200
| From | Ross Zwisler <ross.zwisler@linux.intel.com> |
|---|---|
| Date | 2015-10-06 00:40 +0200 |
| Subject | [PATCH 0/2] Add explicit coredump filtering for DAX mappings |
| Message-ID | <qgmAh-48q-3@gated-at.bofh.it> |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Ross Zwisler <ross.zwisler@linux.intel.com> |
|---|---|
| Date | 2015-10-14 01:00 +0200 |
| Message-ID | <qjgI2-3S5-9@gated-at.bofh.it> |
| In reply to | #1240009 |
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? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Jeff Moyer <jmoyer@redhat.com> |
|---|---|
| Date | 2015-10-15 22:10 +0200 |
| Message-ID | <qjX0B-8R-9@gated-at.bofh.it> |
| In reply to | #1240009 |
Ross Zwisler <ross.zwisler@linux.intel.com> 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@redhat.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web