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

Andrew Morton
2017-06-05T21:38:31Z

On Mon, 5 Jun 2017 14:35:11 -0400 Johannes Weiner <hannes@cmpxchg.org> 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 per_cpu_pageset, boot_pageset);
> +static DEFINE_PER_CPU(struct per_cpu_nodestat, boot_nodestats);
> static void setup_zone_pageset(struct zone *zone);

There's a few kb there. It just sits evermore unused after boot?