From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27056C282DD for ; Mon, 8 Apr 2019 00:35:27 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C501C20883 for ; Mon, 8 Apr 2019 00:35:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YjQQyc0v" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C501C20883 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1hDIFJ-000166-Nz; Sun, 07 Apr 2019 20:34:45 -0400 Received: from mail-ua1-x933.google.com ([2607:f8b0:4864:20::933]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1hCMhm-0004AQ-1g for kernelnewbies@kernelnewbies.org; Fri, 05 Apr 2019 07:08:18 -0400 Received: by mail-ua1-x933.google.com with SMTP id p13so1914287uaa.11 for ; Fri, 05 Apr 2019 04:08:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=aNIE+vTdHVNNwkQKeXlvGCPDjyzvwN94yT8EdXPvcDk=; b=YjQQyc0vH/iTzn9q9KH4Ho6nf2qoWGMMi7Oj2okeFUJ1uJU3WSghTMeMC7CRaOajTa 7HT+R8WaKGJzCUNszqG7rfPNhZ/Dki5wuVbxn9GknapEo5DZZzbKbAUzdR2GVhlWTcaj K5kPoEj3SKg0Is52+CEvjWY5KJRvYoLgg4d3eujSMNBRTIG0ma2UBxJSyyq/d8xlv6Jm 3lTJ507s1T7/YwOBGjqPN51jw6wkk1nF713OeiwkKuRAqvDQvfExbdzGe3N/nInJAOEa wbbPu7qIN3FVJJjr4oqzt0H6jrI5Lw6LGYy3jNdA66P/IZIIMxHKzKXyTyuuO1Yc/0Q1 P7sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=aNIE+vTdHVNNwkQKeXlvGCPDjyzvwN94yT8EdXPvcDk=; b=P9tyWwmnId4loUhcXv5iYSFZhfxpxp4IawhDeH211rvmHIULjM3cUtlBczYYdigbm2 gMK9+gp5fIG7KboLhF7oBZb4Spsas2B8//j+DRdSXD/ELWXjkxPuyfAj1yW78rCGN5nZ +wZNfzZ520WJTS0wQzdxTBSIwtpTxYL14DwTFxVMwcnPYVI38aw4+8yXmTOqAu1TJ8mn K4fY2wit6JF7FdmVXW9kvFQVxK2d/X38pkpQeQpsmSD6g6YgFJalf+PBEjz3MIG0CQ5D FcI1+lcJ/WjM5YlRbmS5m2STiGcDqmx6/OHXb60lb2cEU2BinF2IaLFOv7/ODhQFeXJ5 PMQA== X-Gm-Message-State: APjAAAUQGqDHwEWfZsusYOZVovVdSWLmB95TFaZ33ZBt1waXPLqQLUTh qWWk9CaEy8lTI8FTexTdep9nPZZDfOvBkKXfK4uYXQ== X-Google-Smtp-Source: APXvYqwaiwZeI5Pbozfipwhzg/uzyeylVwqaQSeQvDHIXpBJrPCNsye7bbu9JkawWF9KOTKx27Fgghj9VCBsQ1CAONE= X-Received: by 2002:ab0:3419:: with SMTP id z25mr7274184uap.102.1554462491569; Fri, 05 Apr 2019 04:08:11 -0700 (PDT) MIME-Version: 1.0 From: Pankaj Suryawanshi Date: Fri, 5 Apr 2019 16:37:58 +0530 Message-ID: Subject: How to calculate page address to PFN To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, kernelnewbies@kernelnewbies.org X-Mailman-Approved-At: Sun, 07 Apr 2019 20:34:43 -0400 X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6919172576042952798==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============6919172576042952798== Content-Type: multipart/alternative; boundary="000000000000a074ac0585c680c7" --000000000000a074ac0585c680c7 Content-Type: text/plain; charset="UTF-8" Hello, I have PFN of all processes in user space, how to calculate page address to PFN. eg . page address :bf05febc in kernel space. I have PFN no for user space processes as below. 8a81b 69da0 88cf4 88d06 88d07 9549f 952d0 9734a 87c7d 87ca0 How to calculate/match page address to PFN ? Regards, Pankaj --000000000000a074ac0585c680c7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I have PFN of all processes in user space, how to calcul= ate page address to PFN.

eg .

page address :bf05= febc in kernel space.

I have PFN no for user space processes as below.<= /div>

8a81b
69da0
88cf4
88d06
<= div dir=3D"auto">88d07
9549f
= 952d0
9734a
87c7d
87ca0

How to= calculate/match page address to PFN ?

Regards,
Pankaj
--000000000000a074ac0585c680c7-- --===============6919172576042952798== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============6919172576042952798==--