Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933138AbbHKXtD (ORCPT ); Tue, 11 Aug 2015 19:49:03 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:36679 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932265AbbHKXs7 (ORCPT ); Tue, 11 Aug 2015 19:48:59 -0400 Date: Tue, 11 Aug 2015 16:48:56 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Naoya Horiguchi cc: Andrew Morton , =?UTF-8?Q?J=C3=B6rn_Engel?= , Mike Kravetz , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Naoya Horiguchi Subject: Re: [PATCH v2 1/2] smaps: fill missing fields for vma(VM_HUGETLB) In-Reply-To: <20150811233237.GA32192@hori1.linux.bs1.fc.nec.co.jp> Message-ID: References: <20150806074443.GA7870@hori1.linux.bs1.fc.nec.co.jp> <1438932278-7973-1-git-send-email-n-horiguchi@ah.jp.nec.com> <1438932278-7973-2-git-send-email-n-horiguchi@ah.jp.nec.com> <20150811233237.GA32192@hori1.linux.bs1.fc.nec.co.jp> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 866 Lines: 19 On Tue, 11 Aug 2015, Naoya Horiguchi wrote: > > This memory was not included in rss originally because memory in the > > hugetlb persistent pool is always resident. Unmapping the memory does not > > free memory. For this reason, hugetlb memory has always been treated as > > its own type of memory. > > Right, so it might be better not to use the word "RSS" for hugetlb, maybe > something like "HugetlbPages:" seems better to me. > When the pagesize is also specified, as it is in smaps, I think this would be the best option. Note that we can't distinguish between variable hugetlb sizes with VmFlags alone. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/