* Classifying user and kernel pages
@ 2013-10-03 18:49 Piyus Kedia
2013-10-20 23:41 ` Piyus Kedia
0 siblings, 1 reply; 2+ messages in thread
From: Piyus Kedia @ 2013-10-03 18:49 UTC (permalink / raw)
To: linux-kernel
Hi All,
Does anybody know if there is a way in Linux Kernel to find whether a
physical page is a user page or it is kernel page. A kernel page is
only accessed by kernel and it doesn't belong to any user process.
Thanks,
Piyus
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Classifying user and kernel pages
2013-10-03 18:49 Classifying user and kernel pages Piyus Kedia
@ 2013-10-20 23:41 ` Piyus Kedia
0 siblings, 0 replies; 2+ messages in thread
From: Piyus Kedia @ 2013-10-20 23:41 UTC (permalink / raw)
To: linux-kernel
The user pages are generally allocated using GFP_USER or GFP_HIGHMEM
flags. The linux kernel treats GFP_USER and GFP_KERNEL as same. So,
there is no way you can tell whether a physical page belongs to user
process or not using physical frame number.
Piyus
On Fri, Oct 4, 2013 at 12:19 AM, Piyus Kedia <piyuskedia@gmail.com> wrote:
> Hi All,
>
> Does anybody know if there is a way in Linux Kernel to find whether a
> physical page is a user page or it is kernel page. A kernel page is
> only accessed by kernel and it doesn't belong to any user process.
>
> Thanks,
> Piyus
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-20 23:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-03 18:49 Classifying user and kernel pages Piyus Kedia
2013-10-20 23:41 ` Piyus Kedia
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.