Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4174727img; Tue, 26 Mar 2019 04:38:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqy22kaYke5CuZOZPMGrtVoq2NkRckZ1gFD8AhwQa87EmqRlcNFyBTZEI8/TMjIThaAxia0a X-Received: by 2002:a62:39d6:: with SMTP id u83mr29249706pfj.161.1553600292183; Tue, 26 Mar 2019 04:38:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553600292; cv=none; d=google.com; s=arc-20160816; b=D6sQvP9TilU3JMtAj/J9udLDij8OM3baaTkSCGw054n1ASVFRRZG2KY5eqk8J064RB kbsdpoIF/tZPpp4gk8bZs4fyS88V1ZgvtYLW/kqCRb03/JBlTb1JmBMPgaROhi1pX/6D wGOrG8shL/zWXtSAUAyXiLTJNTIuePYKnVnngtcUhosfQdhweIrCc+hZSlStMMYUNrUM Kl9yg+nLFBeFsoX3LHzelnm70DA9RN+cNnqHJdF9EDyQRvAUv4d9R2GeHQ4EqyiS3dJG U+pXilFSJrFneGSbiV9zNexrNKh8dcA+2sPd6akiL+Q9ighkFWjq5iaH2yJZPiAmEmOe zrTg== 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; bh=bv5G3/eS21umtZDY99PXXbaStFpJ80Xzj5R3U428fsc=; b=MkLiwGJzRD0+Qc81FKywhtVe5LQV/g7wAz/p4Gzmo8gStFNzjwZk8L/wi4CEmie5nW 95P10ilQ9m+leS5+LDKdFqgiGz6fau8oTd2bi7agusCLi8DWglQrKpThmR/OJFHYHrbz jEqLPOJEE9N/gKQS7x31ig3qpQsu0hxffeTsypkAHB+wGz+ofwxNcsow0ddFbIKNgJcS I44mdzWtnkEtpR5CL4tdJNbanThbhxEKXEMkemKAKZeroX5ihJ7vdrEvZEA+wwmezv98 4JbdJCpz+EPN0RY4wdy/XsKSUw27yqfSHaELVpbBDCuzDhGTMKqJeOE5FKq+RxdCiOR2 GTHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=pbvPG1TF; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r1si16894467plb.367.2019.03.26.04.37.57; Tue, 26 Mar 2019 04:38:12 -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=@infradead.org header.s=bombadil.20170209 header.b=pbvPG1TF; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726645AbfCZLhB (ORCPT + 99 others); Tue, 26 Mar 2019 07:37:01 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42546 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbfCZLhB (ORCPT ); Tue, 26 Mar 2019 07:37:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=bv5G3/eS21umtZDY99PXXbaStFpJ80Xzj5R3U428fsc=; b=pbvPG1TFAf9dyNpJIgt8xAfrh /Jp5p+bEr9ZP/xKdSIYbZGtXXuL2Hd/wDs78rTMcR2beiOKqEY+2qF+fsuixMDsjKP0gOaZEvWTqj RXoAEL7hcsC3Ir0HxvJ2HJix2KKgUWWNJnaQTGdqEJAy4radoDP1yxhNaEAuUshBa9D4r758xGGpT m2Q3BzSebFUcKC/B2aXXgyRZkx6HyWC0VDRpNSjSC9vmc9TXBESbW5FXClTwzjexbXDXE/1T0ed4K QHXaMe3JcNLJ5cvcgh5Jy2f04T47Rk4QHi/wEwNB3TyNYLlOQXJGxwSvGKTxjHPOzsLNFWVzAA++O 0UuNcj38Q==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8kO1-0004SA-8v; Tue, 26 Mar 2019 11:36:57 +0000 Date: Tue, 26 Mar 2019 04:36:57 -0700 From: Matthew Wilcox To: Pankaj Suryawanshi Cc: "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" Subject: Re: Print map for total physical and virtual memory Message-ID: <20190326113657.GL10344@bombadil.infradead.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 26, 2019 at 08:34:20AM +0000, Pankaj Suryawanshi wrote: > Hello, > > 1. Is there any way to print whole physical and virtual memory map in kernel/user space ? > > 2. Is there any way to print map of cma area reserved memory and movable pages of cma area. > > 3. Is there any way to know who pinned the pages from cma reserved area ? You probably want tools/vm/page-types.c