All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Valdis Klētnieks" <valdis.kletnieks@vt.edu>
To: Pankaj Suryawanshi <suryawanshipankaj@yahoo.com>
Cc: "linux-mm@kvack.org" <linux-mm@kvack.org>,
	LKML <linux-kernel@vger.kernel.org>,
	"kernelnewbies@kernelnewbies.org"
	<kernelnewbies@kernelnewbies.org>
Subject: Re: How to calculate page address to PFN in user space.
Date: Fri, 05 Apr 2019 17:27:37 -0400	[thread overview]
Message-ID: <6977.1554499657@turing-police> (raw)
In-Reply-To: <1536252828.16026118.1554461687939@mail.yahoo.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: "Valdis Klētnieks" <valdis.kletnieks@vt.edu>
To: Pankaj Suryawanshi <suryawanshipankaj@yahoo.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	"kernelnewbies@kernelnewbies.org"
	<kernelnewbies@kernelnewbies.org>
Subject: Re: How to calculate page address to PFN in user space.
Date: Fri, 05 Apr 2019 17:27:37 -0400	[thread overview]
Message-ID: <6977.1554499657@turing-police> (raw)
In-Reply-To: <1536252828.16026118.1554461687939@mail.yahoo.com>

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?)


  reply	other threads:[~2019-04-05 21:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1536252828.16026118.1554461687939.ref@mail.yahoo.com>
2019-04-05 10:54 ` How to calculate page address to PFN in user space Pankaj Suryawanshi
2019-04-05 10:54   ` Pankaj Suryawanshi
2019-04-05 21:27   ` Valdis Klētnieks [this message]
2019-04-05 21:27     ` Valdis Klētnieks
2019-04-06  6:15     ` Pankaj Suryawanshi
2019-04-06  6:15       ` Pankaj Suryawanshi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6977.1554499657@turing-police \
    --to=valdis.kletnieks@vt.edu \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=suryawanshipankaj@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.