diff for duplicates of <20160205021557.GA11598@bbox> diff --git a/a/1.txt b/N1/1.txt index 4590d01..88cdc9c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -30,48 +30,3 @@ Hello Michael, Could you review this patch? Thanks. - ->From 203372f901f574e991215fdff6907608ba53f932 Mon Sep 17 00:00:00 2001 -From: Minchan Kim <minchan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> -Date: Fri, 5 Feb 2016 11:09:54 +0900 -Subject: [PATCH] madvise.2: Add MADV_FREE - -Document the MADV_FREE flags added to madvise() in Linux 4.5 - -Signed-off-by: Minchan Kim <minchan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> ---- - man2/madvise.2 | 19 +++++++++++++++++++ - 1 file changed, 19 insertions(+) - -diff --git a/man2/madvise.2 b/man2/madvise.2 -index c1df67c..4704304 100644 ---- a/man2/madvise.2 -+++ b/man2/madvise.2 -@@ -143,6 +143,25 @@ flag are special memory areas that are not managed - by the virtual memory subsystem. - Such pages are typically created by device drivers that - map the pages into user space.) -+.TP -+.B MADV_FREE " (since Linux 4.5)" -+Application is finished with the given range, so kernel can free -+resources associated with it but the freeing could be delayed until -+memory pressure happens or canceld by write operation by user. -+ -+After a successful MADV_FREE operation, user shouldn't expect kernel -+keeps stale data on the page. However, subsequent write of pages -+in the range will succeed and then kernel cannot free those dirtied pages -+so user can always see just written data. If there was no subsequent -+write, kernel can free those clean pages any time. In such case, -+user can see zero-fill-on-demand pages. -+ -+Note that, it works only with private anonymous pages (see -+.BR mmap (2)). -+On swapless system, freeing pages in given range happens instantly -+regardless of memory pressure. -+ -+ - .\" - .\" ====================================================================== - .\" --- -1.9.1 diff --git a/a/content_digest b/N1/content_digest index 41fecf9..f8628f2 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,23 +1,23 @@ - "From\0Minchan Kim <minchan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>\0" + "From\0Minchan Kim <minchan@kernel.org>\0" "Subject\0Re: [PATCH v5 00/12] MADV_FREE support\0" "Date\0Fri, 5 Feb 2016 11:15:57 +0900\0" - "To\0Michael Kerrisk (man-pages) <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\0" - "Cc\0Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>" - linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org - linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - Hugh Dickins <hughd-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> - Johannes Weiner <hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org> - Rik van Riel <riel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> - Mel Gorman <mgorman-l3A5Bk7waGM@public.gmane.org> - KOSAKI Motohiro <kosaki.motohiro-+CUm20s59erQFUHtdCDX3A@public.gmane.org> - Jason Evans <je-b10kYP2dOMg@public.gmane.org> - Daniel Micay <danielmicay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> - Kirill A. Shutemov <kirill-oKw7cIdHH8eLwutG50LtGA@public.gmane.org> - Shaohua Li <shli-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> - Michal Hocko <mhocko-AlSwsSmVLrQ@public.gmane.org> - yalin.wang2010-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org - " Andy Lutomirski <luto-kltTT9wpgjJwATOyAt5JVQ@public.gmane.org>\0" + "To\0Michael Kerrisk (man-pages) <mtk.manpages@gmail.com>\0" + "Cc\0Andrew Morton <akpm@linux-foundation.org>" + linux-kernel@vger.kernel.org + linux-mm@kvack.org + linux-api@vger.kernel.org + Hugh Dickins <hughd@google.com> + Johannes Weiner <hannes@cmpxchg.org> + Rik van Riel <riel@redhat.com> + Mel Gorman <mgorman@suse.de> + KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> + Jason Evans <je@fb.com> + Daniel Micay <danielmicay@gmail.com> + Kirill A. Shutemov <kirill@shutemov.name> + Shaohua Li <shli@kernel.org> + Michal Hocko <mhocko@suse.cz> + yalin.wang2010@gmail.com + " Andy Lutomirski <luto@amacapital.net>\0" "\00:1\0" "b\0" "On Thu, Jan 28, 2016 at 08:16:25AM +0100, Michael Kerrisk (man-pages) wrote:\n" @@ -51,51 +51,6 @@ "\n" "Could you review this patch?\n" "\n" - "Thanks.\n" - "\n" - ">From 203372f901f574e991215fdff6907608ba53f932 Mon Sep 17 00:00:00 2001\n" - "From: Minchan Kim <minchan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>\n" - "Date: Fri, 5 Feb 2016 11:09:54 +0900\n" - "Subject: [PATCH] madvise.2: Add MADV_FREE\n" - "\n" - "Document the MADV_FREE flags added to madvise() in Linux 4.5\n" - "\n" - "Signed-off-by: Minchan Kim <minchan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>\n" - "---\n" - " man2/madvise.2 | 19 +++++++++++++++++++\n" - " 1 file changed, 19 insertions(+)\n" - "\n" - "diff --git a/man2/madvise.2 b/man2/madvise.2\n" - "index c1df67c..4704304 100644\n" - "--- a/man2/madvise.2\n" - "+++ b/man2/madvise.2\n" - "@@ -143,6 +143,25 @@ flag are special memory areas that are not managed\n" - " by the virtual memory subsystem.\n" - " Such pages are typically created by device drivers that\n" - " map the pages into user space.)\n" - "+.TP\n" - "+.B MADV_FREE \" (since Linux 4.5)\"\n" - "+Application is finished with the given range, so kernel can free\n" - "+resources associated with it but the freeing could be delayed until\n" - "+memory pressure happens or canceld by write operation by user.\n" - "+\n" - "+After a successful MADV_FREE operation, user shouldn't expect kernel\n" - "+keeps stale data on the page. However, subsequent write of pages\n" - "+in the range will succeed and then kernel cannot free those dirtied pages\n" - "+so user can always see just written data. If there was no subsequent\n" - "+write, kernel can free those clean pages any time. In such case,\n" - "+user can see zero-fill-on-demand pages.\n" - "+\n" - "+Note that, it works only with private anonymous pages (see\n" - "+.BR mmap (2)).\n" - "+On swapless system, freeing pages in given range happens instantly\n" - "+regardless of memory pressure.\n" - "+\n" - "+\n" - " .\\\"\n" - " .\\\" ======================================================================\n" - " .\\\"\n" - "-- \n" - 1.9.1 + Thanks. -e1e50d60650fd9a15860df64415ad9cb0c8d070ebb42a5541cbb6cc8e822480b +2eeb4108271fbaf464b984dc3e1a13b7216adddb40ba3175cc921883a736198b
diff --git a/a/1.txt b/N2/1.txt index 4590d01..2865abe 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -32,13 +32,13 @@ Could you review this patch? Thanks. >From 203372f901f574e991215fdff6907608ba53f932 Mon Sep 17 00:00:00 2001 -From: Minchan Kim <minchan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> +From: Minchan Kim <minchan@kernel.org> Date: Fri, 5 Feb 2016 11:09:54 +0900 Subject: [PATCH] madvise.2: Add MADV_FREE Document the MADV_FREE flags added to madvise() in Linux 4.5 -Signed-off-by: Minchan Kim <minchan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> +Signed-off-by: Minchan Kim <minchan@kernel.org> --- man2/madvise.2 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/a/content_digest b/N2/content_digest index 41fecf9..f7c1905 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,23 +1,23 @@ - "From\0Minchan Kim <minchan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>\0" + "From\0Minchan Kim <minchan@kernel.org>\0" "Subject\0Re: [PATCH v5 00/12] MADV_FREE support\0" "Date\0Fri, 5 Feb 2016 11:15:57 +0900\0" - "To\0Michael Kerrisk (man-pages) <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\0" - "Cc\0Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>" - linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org - linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - Hugh Dickins <hughd-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> - Johannes Weiner <hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org> - Rik van Riel <riel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> - Mel Gorman <mgorman-l3A5Bk7waGM@public.gmane.org> - KOSAKI Motohiro <kosaki.motohiro-+CUm20s59erQFUHtdCDX3A@public.gmane.org> - Jason Evans <je-b10kYP2dOMg@public.gmane.org> - Daniel Micay <danielmicay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> - Kirill A. Shutemov <kirill-oKw7cIdHH8eLwutG50LtGA@public.gmane.org> - Shaohua Li <shli-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> - Michal Hocko <mhocko-AlSwsSmVLrQ@public.gmane.org> - yalin.wang2010-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org - " Andy Lutomirski <luto-kltTT9wpgjJwATOyAt5JVQ@public.gmane.org>\0" + "To\0Michael Kerrisk (man-pages) <mtk.manpages@gmail.com>\0" + "Cc\0Andrew Morton <akpm@linux-foundation.org>" + linux-kernel@vger.kernel.org + linux-mm@kvack.org + linux-api@vger.kernel.org + Hugh Dickins <hughd@google.com> + Johannes Weiner <hannes@cmpxchg.org> + Rik van Riel <riel@redhat.com> + Mel Gorman <mgorman@suse.de> + KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> + Jason Evans <je@fb.com> + Daniel Micay <danielmicay@gmail.com> + Kirill A. Shutemov <kirill@shutemov.name> + Shaohua Li <shli@kernel.org> + Michal Hocko <mhocko@suse.cz> + yalin.wang2010@gmail.com + " Andy Lutomirski <luto@amacapital.net>\0" "\00:1\0" "b\0" "On Thu, Jan 28, 2016 at 08:16:25AM +0100, Michael Kerrisk (man-pages) wrote:\n" @@ -54,13 +54,13 @@ "Thanks.\n" "\n" ">From 203372f901f574e991215fdff6907608ba53f932 Mon Sep 17 00:00:00 2001\n" - "From: Minchan Kim <minchan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>\n" + "From: Minchan Kim <minchan@kernel.org>\n" "Date: Fri, 5 Feb 2016 11:09:54 +0900\n" "Subject: [PATCH] madvise.2: Add MADV_FREE\n" "\n" "Document the MADV_FREE flags added to madvise() in Linux 4.5\n" "\n" - "Signed-off-by: Minchan Kim <minchan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>\n" + "Signed-off-by: Minchan Kim <minchan@kernel.org>\n" "---\n" " man2/madvise.2 | 19 +++++++++++++++++++\n" " 1 file changed, 19 insertions(+)\n" @@ -98,4 +98,4 @@ "-- \n" 1.9.1 -e1e50d60650fd9a15860df64415ad9cb0c8d070ebb42a5541cbb6cc8e822480b +ed6832d58a403cb75d8d3995d1432e226a714167c16a67d0114dc05c97bde094
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.