From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754770AbdKMTb1 (ORCPT ); Mon, 13 Nov 2017 14:31:27 -0500 Received: from mga11.intel.com ([192.55.52.93]:58269 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754350AbdKMTbY (ORCPT ); Mon, 13 Nov 2017 14:31:24 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,389,1505804400"; d="scan'208";a="173075047" Subject: Re: [PATCH] mm: show stats for non-default hugepage sizes in /proc/meminfo To: Johannes Weiner , Roman Gushchin References: <20171113160302.14409-1-guro@fb.com> <8aa63aee-cbbb-7516-30cf-15fcf925060b@intel.com> <20171113181105.GA27034@castle> <2579a26d-81d1-732e-ef57-33bb4c293cd6@oracle.com> <20171113184454.GA18531@castle> <20171113191056.GA28749@cmpxchg.org> Cc: Mike Kravetz , linux-mm@kvack.org, Andrew Morton , Michal Hocko , "Aneesh Kumar K.V" , Andrea Arcangeli , kernel-team@fb.com, linux-kernel@vger.kernel.org From: Dave Hansen Message-ID: <940679cd-b044-707d-a693-e360cf8623b5@intel.com> Date: Mon, 13 Nov 2017 11:31:14 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171113191056.GA28749@cmpxchg.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/13/2017 11:10 AM, Johannes Weiner wrote: > Maybe a simple summary counter for everything set aside by the hugetlb > subsystem - default and non-default page sizes, whether they're used > or only reserved etc.? Yeah, one line is a lot more sane than 5 lines times all the extra sizes. It'll just be a matter of bikeshedding the name and whether it should include the default pages being consumed or not. I vote for: Hugetlb: "/sysfs FTW!" kB From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f70.google.com (mail-pg0-f70.google.com [74.125.83.70]) by kanga.kvack.org (Postfix) with ESMTP id 4EA736B0069 for ; Mon, 13 Nov 2017 14:31:28 -0500 (EST) Received: by mail-pg0-f70.google.com with SMTP id y5so17835618pgq.15 for ; Mon, 13 Nov 2017 11:31:28 -0800 (PST) Received: from mga07.intel.com (mga07.intel.com. [134.134.136.100]) by mx.google.com with ESMTPS id w15si5436612pgc.761.2017.11.13.11.31.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Nov 2017 11:31:27 -0800 (PST) Subject: Re: [PATCH] mm: show stats for non-default hugepage sizes in /proc/meminfo References: <20171113160302.14409-1-guro@fb.com> <8aa63aee-cbbb-7516-30cf-15fcf925060b@intel.com> <20171113181105.GA27034@castle> <2579a26d-81d1-732e-ef57-33bb4c293cd6@oracle.com> <20171113184454.GA18531@castle> <20171113191056.GA28749@cmpxchg.org> From: Dave Hansen Message-ID: <940679cd-b044-707d-a693-e360cf8623b5@intel.com> Date: Mon, 13 Nov 2017 11:31:14 -0800 MIME-Version: 1.0 In-Reply-To: <20171113191056.GA28749@cmpxchg.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Johannes Weiner , Roman Gushchin Cc: Mike Kravetz , linux-mm@kvack.org, Andrew Morton , Michal Hocko , "Aneesh Kumar K.V" , Andrea Arcangeli , kernel-team@fb.com, linux-kernel@vger.kernel.org On 11/13/2017 11:10 AM, Johannes Weiner wrote: > Maybe a simple summary counter for everything set aside by the hugetlb > subsystem - default and non-default page sizes, whether they're used > or only reserved etc.? Yeah, one line is a lot more sane than 5 lines times all the extra sizes. It'll just be a matter of bikeshedding the name and whether it should include the default pages being consumed or not. I vote for: Hugetlb: "/sysfs FTW!" kB -- 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: email@kvack.org