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=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, 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 F1A34C282CE for ; Fri, 5 Apr 2019 21:28:49 +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 B033721726 for ; Fri, 5 Apr 2019 21:28:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B033721726 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu 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 1hCWNS-0001AC-Tv; Fri, 05 Apr 2019 17:27:58 -0400 Received: from omr2.cc.ipv6.vt.edu ([2607:b400:92:8400:0:33:fb76:806e] helo=omr2.cc.vt.edu) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1hCWNM-00019x-J2 for kernelnewbies@kernelnewbies.org; Fri, 05 Apr 2019 17:27:55 -0400 Received: from mr4.cc.vt.edu (mr4.cc.ipv6.vt.edu [IPv6:2607:b400:92:8300:0:7b:e2b1:6a29]) by omr2.cc.vt.edu (8.14.4/8.14.4) with ESMTP id x35LRjN7006316 for ; Fri, 5 Apr 2019 17:27:46 -0400 Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mr4.cc.vt.edu (8.14.7/8.14.7) with ESMTP id x35LReKN024930 for ; Fri, 5 Apr 2019 17:27:45 -0400 Received: by mail-qk1-f200.google.com with SMTP id w124so6073776qkb.12 for ; Fri, 05 Apr 2019 14:27:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:date:message-id; bh=Y79cdCdF/M5lgfA1xcm93DhUSoi2n3NbM7Cae4JkvcY=; b=hnw8hJi05vPSchynQyk/hZ9tf1tF28SsY/PEbwE+U1fa0MhxRygPLGtRi+mz9Gx69Y /U+EkmMHIh1OmXnWWm/aOC8ifU/MM9ostKjhCuOG2XVefvwq+1nUCbTDpDdsjJrZem0S lcRjY92WQVGsJIjOsrXUV9hXo9IWbEx78Aq4RxmXckTmcjDJEHrf96YH7566tAzDU1Fa g+jGmQMcGroMcbpQENF8m2/TrwxtKsc5zEDabtfx1UCbh8qEk3Tid217LWEmFAmm1vHo XgzKDtfxR7sdLvYZ4uO6/YQRsAWz9yM0HHP2ZOkeXARRyh9MbraHCYLdCLm8rUnCIw9X XTiw== X-Gm-Message-State: APjAAAWwkoF1BYZBf/Mxam1VRjvtmx9jV10aWyUimAH8dUT88zdm8rha Za3aBROKFFZLWizBZT5HezO3Si3n5UZ7ETy2Qrxyy9NHH5Py/5IP/7jg4ecxJ82Krxf3XgIU9Z+ wQLx8p4AXg+Rqz/dsv7q5sbgNq7hPwjIwuKlQuN4= X-Received: by 2002:a0c:d092:: with SMTP id z18mr11840009qvg.14.1554499660609; Fri, 05 Apr 2019 14:27:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxNuR6TLAZ7r/bEEXsC7ygCFH1VT8BXKCBf0qPFgAa9qRwr3vE1qxeJ67tezCv9L036/cZsYg== X-Received: by 2002:a0c:d092:: with SMTP id z18mr11839994qvg.14.1554499660359; Fri, 05 Apr 2019 14:27:40 -0700 (PDT) Received: from turing-police ([2601:5c0:c001:4341::9ca]) by smtp.gmail.com with ESMTPSA id p62sm6308944qkd.27.2019.04.05.14.27.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Apr 2019 14:27:38 -0700 (PDT) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: Pankaj Suryawanshi Subject: Re: How to calculate page address to PFN in user space. In-reply-to: <1536252828.16026118.1554461687939@mail.yahoo.com> References: <1536252828.16026118.1554461687939.ref@mail.yahoo.com> <1536252828.16026118.1554461687939@mail.yahoo.com> Mime-Version: 1.0 Date: Fri, 05 Apr 2019 17:27:37 -0400 Message-ID: <6977.1554499657@turing-police> Cc: "linux-mm@kvack.org" , LKML , "kernelnewbies@kernelnewbies.org" 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Fri, 05 Apr 2019 10:54:47 -0000, Pankaj Suryawanshi said: > I have PFN of all processes in user space, how to calculate page address to PFN. *All* user processes? That's going to be a lot of PFN's. What problem are you trying to solve here? (Hint - under what cases does the kernel care about the PFN of *any* user page?) _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies