Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-06-07 Thread Johannes Weiner
On Mon, Jun 05, 2017 at 02:38:31PM -0700, Andrew Morton wrote: > On Mon, 5 Jun 2017 14:35:11 -0400 Johannes Weiner wrote: > > > --- a/mm/page_alloc.c > > +++ b/mm/page_alloc.c > > @@ -5107,6 +5107,7 @@ static void build_zonelists(pg_data_t *pgdat) > > */ > > static void

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-06-07 Thread Johannes Weiner
On Mon, Jun 05, 2017 at 02:38:31PM -0700, Andrew Morton wrote: > On Mon, 5 Jun 2017 14:35:11 -0400 Johannes Weiner wrote: > > > --- a/mm/page_alloc.c > > +++ b/mm/page_alloc.c > > @@ -5107,6 +5107,7 @@ static void build_zonelists(pg_data_t *pgdat) > > */ > > static void setup_pageset(struct

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-06-06 Thread Johannes Weiner
On Tue, Jun 06, 2017 at 09:15:48PM +1000, Michael Ellerman wrote: > But today's linux-next is OK. So I must have missed a fix when testing > this in isolation. > > commit d94b69d9a3f8139e6d5f5d03c197d8004de3905a > Author: Johannes Weiner > AuthorDate: Tue Jun 6 09:19:50

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-06-06 Thread Johannes Weiner
On Tue, Jun 06, 2017 at 09:15:48PM +1000, Michael Ellerman wrote: > But today's linux-next is OK. So I must have missed a fix when testing > this in isolation. > > commit d94b69d9a3f8139e6d5f5d03c197d8004de3905a > Author: Johannes Weiner > AuthorDate: Tue Jun 6 09:19:50 2017 +1000 > Commit:

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-06-06 Thread Michael Ellerman
Michael Ellerman writes: > Johannes Weiner writes: >> From 89ed86b5b538d8debd3c29567d7e1d31257fa577 Mon Sep 17 00:00:00 2001 >> From: Johannes Weiner >> Date: Mon, 5 Jun 2017 14:12:15 -0400 >> Subject: [PATCH] mm: vmstat: move slab

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-06-06 Thread Michael Ellerman
Michael Ellerman writes: > Johannes Weiner writes: >> From 89ed86b5b538d8debd3c29567d7e1d31257fa577 Mon Sep 17 00:00:00 2001 >> From: Johannes Weiner >> Date: Mon, 5 Jun 2017 14:12:15 -0400 >> Subject: [PATCH] mm: vmstat: move slab statistics from zone to node counters >> fix >> >> Unable to

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-06-05 Thread Michael Ellerman
Johannes Weiner writes: > From 89ed86b5b538d8debd3c29567d7e1d31257fa577 Mon Sep 17 00:00:00 2001 > From: Johannes Weiner > Date: Mon, 5 Jun 2017 14:12:15 -0400 > Subject: [PATCH] mm: vmstat: move slab statistics from zone to node counters > fix > > Unable

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-06-05 Thread Michael Ellerman
Johannes Weiner writes: > From 89ed86b5b538d8debd3c29567d7e1d31257fa577 Mon Sep 17 00:00:00 2001 > From: Johannes Weiner > Date: Mon, 5 Jun 2017 14:12:15 -0400 > Subject: [PATCH] mm: vmstat: move slab statistics from zone to node counters > fix > > Unable to handle kernel paging request at

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-06-05 Thread Andrew Morton
On Mon, 5 Jun 2017 14:35:11 -0400 Johannes Weiner wrote: > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -5107,6 +5107,7 @@ static void build_zonelists(pg_data_t *pgdat) > */ > static void setup_pageset(struct per_cpu_pageset *p, unsigned long batch); > static

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-06-05 Thread Andrew Morton
On Mon, 5 Jun 2017 14:35:11 -0400 Johannes Weiner wrote: > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -5107,6 +5107,7 @@ static void build_zonelists(pg_data_t *pgdat) > */ > static void setup_pageset(struct per_cpu_pageset *p, unsigned long batch); > static DEFINE_PER_CPU(struct

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-06-05 Thread Johannes Weiner
On Thu, Jun 01, 2017 at 08:07:28PM +1000, Michael Ellerman wrote: > Yury Norov writes: > > > On Wed, May 31, 2017 at 01:39:00PM +0200, Heiko Carstens wrote: > >> On Wed, May 31, 2017 at 11:12:56AM +0200, Heiko Carstens wrote: > >> > On Tue, May 30, 2017 at 02:17:20PM

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-06-05 Thread Johannes Weiner
On Thu, Jun 01, 2017 at 08:07:28PM +1000, Michael Ellerman wrote: > Yury Norov writes: > > > On Wed, May 31, 2017 at 01:39:00PM +0200, Heiko Carstens wrote: > >> On Wed, May 31, 2017 at 11:12:56AM +0200, Heiko Carstens wrote: > >> > On Tue, May 30, 2017 at 02:17:20PM -0400, Johannes Weiner

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-06-01 Thread Michael Ellerman
Yury Norov writes: > On Wed, May 31, 2017 at 01:39:00PM +0200, Heiko Carstens wrote: >> On Wed, May 31, 2017 at 11:12:56AM +0200, Heiko Carstens wrote: >> > On Tue, May 30, 2017 at 02:17:20PM -0400, Johannes Weiner wrote: >> > > To re-implement slab cache vs. page

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-06-01 Thread Michael Ellerman
Yury Norov writes: > On Wed, May 31, 2017 at 01:39:00PM +0200, Heiko Carstens wrote: >> On Wed, May 31, 2017 at 11:12:56AM +0200, Heiko Carstens wrote: >> > On Tue, May 30, 2017 at 02:17:20PM -0400, Johannes Weiner wrote: >> > > To re-implement slab cache vs. page cache balancing, we'll need the

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-05-31 Thread Yury Norov
On Wed, May 31, 2017 at 01:39:00PM +0200, Heiko Carstens wrote: > On Wed, May 31, 2017 at 11:12:56AM +0200, Heiko Carstens wrote: > > On Tue, May 30, 2017 at 02:17:20PM -0400, Johannes Weiner wrote: > > > To re-implement slab cache vs. page cache balancing, we'll need the > > > slab counters at

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-05-31 Thread Yury Norov
On Wed, May 31, 2017 at 01:39:00PM +0200, Heiko Carstens wrote: > On Wed, May 31, 2017 at 11:12:56AM +0200, Heiko Carstens wrote: > > On Tue, May 30, 2017 at 02:17:20PM -0400, Johannes Weiner wrote: > > > To re-implement slab cache vs. page cache balancing, we'll need the > > > slab counters at

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-05-31 Thread Heiko Carstens
On Wed, May 31, 2017 at 11:12:56AM +0200, Heiko Carstens wrote: > On Tue, May 30, 2017 at 02:17:20PM -0400, Johannes Weiner wrote: > > To re-implement slab cache vs. page cache balancing, we'll need the > > slab counters at the lruvec level, which, ever since lru reclaim was > > moved from the

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-05-31 Thread Heiko Carstens
On Wed, May 31, 2017 at 11:12:56AM +0200, Heiko Carstens wrote: > On Tue, May 30, 2017 at 02:17:20PM -0400, Johannes Weiner wrote: > > To re-implement slab cache vs. page cache balancing, we'll need the > > slab counters at the lruvec level, which, ever since lru reclaim was > > moved from the

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-05-31 Thread Heiko Carstens
On Tue, May 30, 2017 at 02:17:20PM -0400, Johannes Weiner wrote: > To re-implement slab cache vs. page cache balancing, we'll need the > slab counters at the lruvec level, which, ever since lru reclaim was > moved from the zone to the node, is the intersection of the node, not > the zone, and the

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-05-31 Thread Heiko Carstens
On Tue, May 30, 2017 at 02:17:20PM -0400, Johannes Weiner wrote: > To re-implement slab cache vs. page cache balancing, we'll need the > slab counters at the lruvec level, which, ever since lru reclaim was > moved from the zone to the node, is the intersection of the node, not > the zone, and the

[PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-05-30 Thread Johannes Weiner
To re-implement slab cache vs. page cache balancing, we'll need the slab counters at the lruvec level, which, ever since lru reclaim was moved from the zone to the node, is the intersection of the node, not the zone, and the memcg. We could retain the per-zone counters for when the page allocator

[PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-05-30 Thread Johannes Weiner
To re-implement slab cache vs. page cache balancing, we'll need the slab counters at the lruvec level, which, ever since lru reclaim was moved from the zone to the node, is the intersection of the node, not the zone, and the memcg. We could retain the per-zone counters for when the page allocator