Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751319AbdFEVie (ORCPT ); Mon, 5 Jun 2017 17:38:34 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:51442 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751180AbdFEVic (ORCPT ); Mon, 5 Jun 2017 17:38:32 -0400 Date: Mon, 5 Jun 2017 14:38:31 -0700 From: Andrew Morton To: Johannes Weiner Cc: Michael Ellerman , Yury Norov , Heiko Carstens , Josef Bacik , Michal Hocko , Vladimir Davydov , Rik van Riel , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com, linux-s390@vger.kernel.org Subject: Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters Message-Id: <20170605143831.dac73f489bfe2644e103d2b3@linux-foundation.org> In-Reply-To: <20170605183511.GA8915@cmpxchg.org> References: <20170530181724.27197-1-hannes@cmpxchg.org> <20170530181724.27197-3-hannes@cmpxchg.org> <20170531091256.GA5914@osiris> <20170531113900.GB5914@osiris> <20170531171151.e4zh7ffzbl4w33gd@yury-thinkpad> <87mv9s2f8f.fsf@concordia.ellerman.id.au> <20170605183511.GA8915@cmpxchg.org> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 534 Lines: 12 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 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?