From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f199.google.com (mail-qt0-f199.google.com [209.85.216.199]) by kanga.kvack.org (Postfix) with ESMTP id 1FC176B0008 for ; Mon, 7 May 2018 20:19:47 -0400 (EDT) Received: by mail-qt0-f199.google.com with SMTP id c4-v6so23002703qtp.9 for ; Mon, 07 May 2018 17:19:47 -0700 (PDT) Received: from aserp2120.oracle.com (aserp2120.oracle.com. [141.146.126.78]) by mx.google.com with ESMTPS id d49-v6si2413565qvh.276.2018.05.07.17.19.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 17:19:46 -0700 (PDT) Reply-To: prakash.sangappa@oracle.com Subject: Re: [RFC PATCH] Add /proc//numa_vamaps for numa node information References: <1525240686-13335-1-git-send-email-prakash.sangappa@oracle.com> <98e34010-d55a-5f2d-7d98-cba424de2e74@oracle.com> From: "prakash.sangappa" Message-ID: Date: Mon, 7 May 2018 15:50:30 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Christopher Lameter Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-api@vger.kernel.org, akpm@linux-foundation.org, mhocko@suse.com, kirill.shutemov@linux.intel.com, n-horiguchi@ah.jp.nec.com, drepper@gmail.com, rientjes@google.com On 05/07/2018 07:47 AM, Christopher Lameter wrote: > On Fri, 4 May 2018, Prakash Sangappa wrote: >> Currently 'numa_maps' gives a list of numa nodes, memory is allocated per >> VMA. >> Ex. we get something like from numa_maps. >> >> 04000 N0=1,N2=2 kernelpagesize_KB=4 >> >> First is the start address of a VMA. This VMA could be much larger then 3 4k >> pages. >> It does not say which address in the VMA has the pages mapped. > Not precise. First the address is there as you already said. That is the > virtual address of the beginning of the VMA. What is missing? You need Yes, > each address for each page? Length of the VMA segment? > Physical address? Need numa node information for each virtual address with pages mapped. No need of physical address.