linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] core: Add info about DAX coredump filtering flags
@ 2015-11-11 18:03 Ross Zwisler
       [not found] ` <1447264982-20535-1-git-send-email-ross.zwisler-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Ross Zwisler @ 2015-11-11 18:03 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: Ross Zwisler, linux-man-u79uwXL29TY76Z2rM5mHXA

Kernel 4.4 added two new core dump filtering flags, MMF_DUMP_DAX_PRIVATE
and MMF_DUMP_DAX_SHARED.

These flags allow us to explicitly filter DAX mappings.  This is desirable
because DAX mappings, like hugetlb mappings, have the potential to be very
large.

Signed-off-by: Ross Zwisler <ross.zwisler-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
---

The patches adding these flags have been merged for v4.4, but we're
currently still very early in the v4.4 release cycle.  I'm not sure if it's
correct to apply this documentation patch now, or if you'd rather wait
until v4.4 is actually released.

---
 man5/core.5 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/man5/core.5 b/man5/core.5
index fc7f927..b8a8182 100644
--- a/man5/core.5
+++ b/man5/core.5
@@ -288,6 +288,12 @@ Dump private huge pages.
 .TP
 bit 6 (since Linux 2.6.28)
 Dump shared huge pages.
+.TP
+bit 7 (since Linux 4.4)
+Dump private DAX pages.
+.TP
+bit 8 (since Linux 4.4)
+Dump shared DAX pages.
 .RE
 .PD
 .PP
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] core: Add info about DAX coredump filtering flags
       [not found] ` <1447264982-20535-1-git-send-email-ross.zwisler-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
@ 2015-12-02 20:22   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-12-02 20:22 UTC (permalink / raw)
  To: Ross Zwisler
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

Hello Ross,

On 11/11/2015 07:03 PM, Ross Zwisler wrote:
> Kernel 4.4 added two new core dump filtering flags, MMF_DUMP_DAX_PRIVATE
> and MMF_DUMP_DAX_SHARED.
> 
> These flags allow us to explicitly filter DAX mappings.  This is desirable
> because DAX mappings, like hugetlb mappings, have the potential to be very
> large.
> 
> Signed-off-by: Ross Zwisler <ross.zwisler-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> ---
> 
> The patches adding these flags have been merged for v4.4, but we're
> currently still very early in the v4.4 release cycle.  I'm not sure if it's
> correct to apply this documentation patch now, or if you'd rather wait
> until v4.4 is actually released.

Well, we're at -rc3 now, so I feel reasonably okay with this. I've applied.
Thanks for the patch.

Cheers,

Michael

> ---
>  man5/core.5 | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/man5/core.5 b/man5/core.5
> index fc7f927..b8a8182 100644
> --- a/man5/core.5
> +++ b/man5/core.5
> @@ -288,6 +288,12 @@ Dump private huge pages.
>  .TP
>  bit 6 (since Linux 2.6.28)
>  Dump shared huge pages.
> +.TP
> +bit 7 (since Linux 4.4)
> +Dump private DAX pages.
> +.TP
> +bit 8 (since Linux 4.4)
> +Dump shared DAX pages.
>  .RE
>  .PD
>  .PP
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-02 20:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-11 18:03 [PATCH] core: Add info about DAX coredump filtering flags Ross Zwisler
     [not found] ` <1447264982-20535-1-git-send-email-ross.zwisler-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-12-02 20:22   ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).