Received: by 10.192.165.148 with SMTP id m20csp3619739imm; Mon, 7 May 2018 15:49:33 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoB4KHZEkwdTZ25wJXbBkwaoE643SlJ75uXdSKJCT+puVCLdniRdTfIL98zJdsztepRFhVn X-Received: by 2002:a17:902:585e:: with SMTP id f30-v6mr38781713plj.50.1525733373263; Mon, 07 May 2018 15:49:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525733373; cv=none; d=google.com; s=arc-20160816; b=OngslLOcyFkJRlBfoDRjnkKpU3WqHxd+63nPhuHV8yfttZlnCEiT1MvkZS98AWf6Bi aQfVjAc/wm+VqDW6ErCXKlSdBnu2xUgiXFO4M4t+kaSRTYqTAi9f4ByDdGK0VsWbkv9J 9Ra/CfWM+xXOoFVONgKuFCqQswxkhIfQuesNuUzoFACcCWUhTQ7fDxxDHF/w087r6kRf hRhkumdMDMKInqrY+N7dSLg2JCTjhiVvtNxLMB3jnybtwR9Ss8WvH1ycpi5d/WYHpGtw fOSWjIvMHm6yn5NfV+2T0jjKI6Gudw+xG27yd5XNCFPOcoGIevSNt85BomLdXqMW2ahe xeZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:to:references :subject:reply-to:dkim-signature:arc-authentication-results; bh=sCXheIRPBRxrav5oS2UKcfbCxQK0lR8F5Y06TUBNKzs=; b=ukqUmz9czXhq62YwTXlRlbn9RFME6OtIz+hG3waRoCJPRgR0+Kf+x4kUFhneuBhi5Q XEIuDFK9REeYGYHsA0c4K3CxmnkNcZF6dCLu1ivmkyCrQhSWTlIB+UQcaRm7lQUT/NuQ FCX2xBbyp3ECSu9dl4+TVUuYLuWiNFOci2sbwH+HCQgQYHeliGWvwWbbEfcflxA7UanT RLpWpGfHKEh+fhUkwe7tbrVg0nYCYHn8aFnzRgzG8Oe2OKDwFITe8MjKiQlivr8W24Gq kmeF+W+/7YUmxD9iWav+zXFNbU6EHvQiYi8gnoB9I92gjLUgsrtP6h0XJJXwRAWNor+h jGtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=tZaEowwh; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k4-v6si18120302pgq.683.2018.05.07.15.49.16; Mon, 07 May 2018 15:49:33 -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=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=tZaEowwh; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753254AbeEGWs2 (ORCPT + 99 others); Mon, 7 May 2018 18:48:28 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:46510 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752158AbeEGWs0 (ORCPT ); Mon, 7 May 2018 18:48:26 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w47MfGUC143122; Mon, 7 May 2018 22:48:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=reply-to : subject : references : to : cc : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=sCXheIRPBRxrav5oS2UKcfbCxQK0lR8F5Y06TUBNKzs=; b=tZaEowwh+pVpDmWosqzvhPnP9OUZJdASBs9/O1m/pE2Tc91FjyEBRj3gPxTWqgSw5YPM 1EOeH4jktK+Yet30PhRk43+hydFN63dmF8OCmijgYNplLdCv7WknkkACSS/AOKOHdKPF a3e8yRh2Vhnj40B95R5ne1TljQOR4jeTYuoz4mXpYZhyktT+J8+fTM8TCZn9AP+yV/oQ nJDEgMGsE0ACYnvja/+DpUcg076BmgOIrXsTIl12PIDkLBpN/G3H67NjYc6PiX4ZpkUr yivR/QxT021/Zh49U7giO9nUd4sGZTnathY/or7PYqDwKNRcxHFQ9K3Qz63z6Kvb1eN2 Xw== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2120.oracle.com with ESMTP id 2hs4k26642-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 07 May 2018 22:48:15 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w47MmEFt031163 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 7 May 2018 22:48:14 GMT Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w47MmDje020309; Mon, 7 May 2018 22:48:13 GMT Received: from [10.132.92.130] (/10.132.92.130) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 07 May 2018 15:48:13 -0700 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> 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 From: "prakash.sangappa" Message-ID: Date: Mon, 7 May 2018 15:50:30 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8886 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805070221 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.