diff for duplicates of <20150922210346.749204fb.akpm@linux-foundation.org> diff --git a/a/1.txt b/N1/1.txt index 7b773c4..2f50d1a 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,8 +1,8 @@ -On Tue, 22 Sep 2015 17:42:13 -0700 Greg Thelen <gthelen-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> wrote: +On Tue, 22 Sep 2015 17:42:13 -0700 Greg Thelen <gthelen@google.com> wrote: > Andrew Morton wrote: > -> > On Tue, 22 Sep 2015 15:16:32 -0700 Greg Thelen <gthelen-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> wrote: +> > On Tue, 22 Sep 2015 15:16:32 -0700 Greg Thelen <gthelen@google.com> wrote: > > > >> mem_cgroup_read_stat() returns a page count by summing per cpu page > >> counters. The summing is racy wrt. updates, so a transient negative sum @@ -40,3 +40,10 @@ That all sounds rather bogus to me. __percpu_counter_add() doesn't modify struct percpu_counter at all except for when the cpu-local counter overflows the configured batch size. And for the memcg application I suspect we can set the batch size to INT_MAX... + + +-- +To unsubscribe, send a message with 'unsubscribe linux-mm' in +the body to majordomo@kvack.org. For more info on Linux MM, +see: http://www.linux-mm.org/ . +Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> diff --git a/a/content_digest b/N1/content_digest index 5ecdd95..8562108 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,21 +1,20 @@ "ref\0xr93bncum0ey.fsf@gthelen.mtv.corp.google.com\0" - "ref\0xr93bncum0ey.fsf-aSPv4SP+Du0KgorLzL7FmE7CuiCeIGUxQQ4Iyu8u01E@public.gmane.org\0" - "From\0Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>\0" + "From\0Andrew Morton <akpm@linux-foundation.org>\0" "Subject\0Re: [PATCH] memcg: make mem_cgroup_read_stat() unsigned\0" "Date\0Tue, 22 Sep 2015 21:03:46 -0700\0" - "To\0Greg Thelen <gthelen-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>\0" - "Cc\0Johannes Weiner <hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org>" - Michal Hocko <mhocko-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> - Cgroups <cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> - linux-mm@kvack.org <linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org> - " linux-kernel@vger.kernel.org <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>\0" + "To\0Greg Thelen <gthelen@google.com>\0" + "Cc\0Johannes Weiner <hannes@cmpxchg.org>" + Michal Hocko <mhocko@kernel.org> + Cgroups <cgroups@vger.kernel.org> + linux-mm@kvack.org <linux-mm@kvack.org> + " linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>\0" "\00:1\0" "b\0" - "On Tue, 22 Sep 2015 17:42:13 -0700 Greg Thelen <gthelen-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> wrote:\n" + "On Tue, 22 Sep 2015 17:42:13 -0700 Greg Thelen <gthelen@google.com> wrote:\n" "\n" "> Andrew Morton wrote:\n" "> \n" - "> > On Tue, 22 Sep 2015 15:16:32 -0700 Greg Thelen <gthelen-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> wrote:\n" + "> > On Tue, 22 Sep 2015 15:16:32 -0700 Greg Thelen <gthelen@google.com> wrote:\n" "> >\n" "> >> mem_cgroup_read_stat() returns a page count by summing per cpu page\n" "> >> counters. The summing is racy wrt. updates, so a transient negative sum\n" @@ -52,6 +51,13 @@ "That all sounds rather bogus to me. __percpu_counter_add() doesn't\n" "modify struct percpu_counter at all except for when the cpu-local\n" "counter overflows the configured batch size. And for the memcg\n" - application I suspect we can set the batch size to INT_MAX... + "application I suspect we can set the batch size to INT_MAX...\n" + "\n" + "\n" + "--\n" + "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" + "the body to majordomo@kvack.org. For more info on Linux MM,\n" + "see: http://www.linux-mm.org/ .\n" + "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" -64564a6ba4d189030ca12f668f5b18973ee6784ce8c498b25f218854e5c379c2 +c07f35242ca1318a364d2a24f9abcae443b5a56524191f5282275018ecefdf57
diff --git a/a/1.txt b/N2/1.txt index 7b773c4..9918b3c 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -1,8 +1,8 @@ -On Tue, 22 Sep 2015 17:42:13 -0700 Greg Thelen <gthelen-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> wrote: +On Tue, 22 Sep 2015 17:42:13 -0700 Greg Thelen <gthelen@google.com> wrote: > Andrew Morton wrote: > -> > On Tue, 22 Sep 2015 15:16:32 -0700 Greg Thelen <gthelen-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> wrote: +> > On Tue, 22 Sep 2015 15:16:32 -0700 Greg Thelen <gthelen@google.com> wrote: > > > >> mem_cgroup_read_stat() returns a page count by summing per cpu page > >> counters. The summing is racy wrt. updates, so a transient negative sum diff --git a/a/content_digest b/N2/content_digest index 5ecdd95..a28e2d4 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,21 +1,20 @@ "ref\0xr93bncum0ey.fsf@gthelen.mtv.corp.google.com\0" - "ref\0xr93bncum0ey.fsf-aSPv4SP+Du0KgorLzL7FmE7CuiCeIGUxQQ4Iyu8u01E@public.gmane.org\0" - "From\0Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>\0" + "From\0Andrew Morton <akpm@linux-foundation.org>\0" "Subject\0Re: [PATCH] memcg: make mem_cgroup_read_stat() unsigned\0" "Date\0Tue, 22 Sep 2015 21:03:46 -0700\0" - "To\0Greg Thelen <gthelen-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>\0" - "Cc\0Johannes Weiner <hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org>" - Michal Hocko <mhocko-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> - Cgroups <cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> - linux-mm@kvack.org <linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org> - " linux-kernel@vger.kernel.org <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>\0" + "To\0Greg Thelen <gthelen@google.com>\0" + "Cc\0Johannes Weiner <hannes@cmpxchg.org>" + Michal Hocko <mhocko@kernel.org> + Cgroups <cgroups@vger.kernel.org> + " linux-mm\\@kvack.org <linux-mm@kvack.org>" + " linux-kernel\\@vger.kernel.org <linux-kernel@vger.kernel.org>\0" "\00:1\0" "b\0" - "On Tue, 22 Sep 2015 17:42:13 -0700 Greg Thelen <gthelen-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> wrote:\n" + "On Tue, 22 Sep 2015 17:42:13 -0700 Greg Thelen <gthelen@google.com> wrote:\n" "\n" "> Andrew Morton wrote:\n" "> \n" - "> > On Tue, 22 Sep 2015 15:16:32 -0700 Greg Thelen <gthelen-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> wrote:\n" + "> > On Tue, 22 Sep 2015 15:16:32 -0700 Greg Thelen <gthelen@google.com> wrote:\n" "> >\n" "> >> mem_cgroup_read_stat() returns a page count by summing per cpu page\n" "> >> counters. The summing is racy wrt. updates, so a transient negative sum\n" @@ -54,4 +53,4 @@ "counter overflows the configured batch size. And for the memcg\n" application I suspect we can set the batch size to INT_MAX... -64564a6ba4d189030ca12f668f5b18973ee6784ce8c498b25f218854e5c379c2 +a1b1e99c9c25b42f6be734529e6c37740d6b6d10ff6db0362710853ea03cf66d
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.