Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4856379imm; Tue, 7 Aug 2018 08:27:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdCGGYo6iFzZsVm+m6j5dBvnnyyISYKvSwseYWVv+ljoGKM9xm80yYm8WmXvCL4mV1eHzV/ X-Received: by 2002:a63:f751:: with SMTP id f17-v6mr19627968pgk.410.1533655659857; Tue, 07 Aug 2018 08:27:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533655659; cv=none; d=google.com; s=arc-20160816; b=jclnEJMHF3FLTar41DUDy7gJxMUKBYdnf40FnFF4T3V5uxjhZeX4ozhbJTucAbFCmy kcfvsowcQt8zSwN4pvbjXH7NGRoicbB7UIhLSpw6GXH7lTAm8YeI/GDgIdPYkUghMHgr kaRrwZr9I8rWmOxlthFukojMSHNLUJzSX0asAtvwsox5a0/dDV+ZEUs7yvKobaBd7zAS 7WBJe4nQPahNv0leZPNSjmep2toa9/i0sfkxMfY+vgffwJpuOCgJ4M6V6AZtVxaExvxU /S+z3kXH+ce1S5i4GVRO0l4Zo8J+JUc4bnV5a0vppMQlH7h5aaeOVbcQrbGBTDVSrToq qbKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=bS+cUPtn3PD58LVABGjFnzNroeIh662wUjfFNil4uaU=; b=jrV0VD/GgeuPYp1oadEtNuUCvYIrB+QCygpAebkIzUo5VSvEIrRM8yhVvA5Qi4LlZP GW31j/qy2+/WJ/c6VPQBN32bpLVtojQAGQwj5U5sTD5eFcq7wbwRPf61Z1ZhkLD2Mx4I uMJnjqdDK4VPhW/IgEOUaakvWVZTl1RPHOO/XMYrT+qtrtXhcz6NfHE62gT6lWqT++l3 an75QnhV7OcND0DukkaMtTeZNPyTOGKd0ZgtlSc8R8I9hYHUCT2PoyjaNZpEdDDCrnYz jXKMWAqYc3PHugZI01md1TaBEcTmj3jh5kpYII67UiKTBsnkdyooSCNQ2fCtcBJHmG1k 3jBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=sr10qgcf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e14-v6si1566944pgg.345.2018.08.07.08.27.24; Tue, 07 Aug 2018 08:27:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=sr10qgcf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403847AbeHGR0g (ORCPT + 99 others); Tue, 7 Aug 2018 13:26:36 -0400 Received: from mail-yb0-f193.google.com ([209.85.213.193]:43409 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403820AbeHGR0g (ORCPT ); Tue, 7 Aug 2018 13:26:36 -0400 Received: by mail-yb0-f193.google.com with SMTP id u7-v6so2714880ybu.10 for ; Tue, 07 Aug 2018 08:11:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=bS+cUPtn3PD58LVABGjFnzNroeIh662wUjfFNil4uaU=; b=sr10qgcfrvj4qGjUK5zmxS6PH1+ACcoulC1q+6Nfxu3LQj7Q39mdsiqtA+IT1fOFRS cPlYdJdWq02WfreOzPAJe16jh1936/UhB6lbWuQaEyrpPngzNX+A3R9xHcqSpm9UzcjA aD5uoveiS3tlT3pHgRVDQJuJhd0BFS0MerJLFTBxi0kV23sWSIk1aQMl62erTMdCrXYP nRH+iStwoArBt9hAeuwVkwC6PN6Xx1Og8tBmyEdPSRHiDEKLts6ZEEzs5+Jr2FlBSIO/ lFae412EElCt+Om4V9i3pKhAV6FRq1kWTS0KFjAJ9ww4JvzlT4y0huQR7fHBq3p3Fi46 h/dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=bS+cUPtn3PD58LVABGjFnzNroeIh662wUjfFNil4uaU=; b=RuTfCR9RRr8qLz2YF6mTwVKm01Rz5lSCAq8qETmOeYKkDQvMMiJdL2XjOMMO/nrT0q y9vfCxRMyjfLXhN+/fdJQI35jFspTg5Cjtesn5XdFpa+QaHsBoQdvL8fnZAjdvj6ssFB OP5gXNVX8FqiMWX7WLHI/ErKJepmJZDtVfcHQbs1H/s/CnvpBhei1uOJIA6D4xoVjO/d fQAzQFlg4bN3nJtiauGk/99UXFj/MDFP3efpckFE1Z3ZdMVB55QUeMaOG7ebo7dJodvZ +v+maoVSBAlwhwFF2IcbKnogQFGtnXJ67nKmLq3Y2W5UUG7QgM3xPEz8xGYCP9EBA2Ly NdOg== X-Gm-Message-State: AOUpUlFgO5vVuYumaZpZbq1XCvzfA8lkhVEZahcZa/jdHiopNj+yyjbS BepC5mV1y3Sx8jwQTEUznzA= X-Received: by 2002:a5b:ad0:: with SMTP id a16-v6mr6338942ybr.245.1533654709169; Tue, 07 Aug 2018 08:11:49 -0700 (PDT) Received: from localhost ([2620:10d:c091:200::2:2c4b]) by smtp.gmail.com with ESMTPSA id t4-v6sm912670ywg.98.2018.08.07.08.11.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Aug 2018 08:11:48 -0700 (PDT) Date: Tue, 7 Aug 2018 08:11:46 -0700 From: Tejun Heo To: Christopher Lameter Cc: Dennis Zhou , Andrew Morton , Johannes Weiner , Roman Gushchin , kernel-team@fb.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] proc: add percpu populated pages count to meminfo Message-ID: <20180807151146.GB3978217@devbig004.ftw2.facebook.com> References: <20180807005607.53950-1-dennisszhou@gmail.com> <0100016514bb069d-a6532c9a-b1ca-4eba-8644-c5b3935e3bd8-000000@email.amazonses.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0100016514bb069d-a6532c9a-b1ca-4eba-8644-c5b3935e3bd8-000000@email.amazonses.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Tue, Aug 07, 2018 at 02:12:06PM +0000, Christopher Lameter wrote: > > @@ -121,6 +122,7 @@ static int meminfo_proc_show(struct seq_file *m, void *v) > > (unsigned long)VMALLOC_TOTAL >> 10); > > show_val_kb(m, "VmallocUsed: ", 0ul); > > show_val_kb(m, "VmallocChunk: ", 0ul); > > + show_val_kb(m, "PercpuPopulated:", pcpu_nr_populated_pages()); > > Populated? Can we avoid this for simplicities sake: "Percpu"? > > We do not count pages that are not present elsewhere either and those > counters do not have "populated" in them. Yeah, let's do "Percpu". Thanks. -- tejun