Re: Classifying user and kernel pages

2013-10-20 Thread Piyus Kedia
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

Re: Classifying user and kernel pages

2013-10-20 Thread Piyus Kedia
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

Classifying user and kernel pages

2013-10-03 Thread Piyus Kedia
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 -- To unsubscribe from this list: send the line "unsubscribe

Classifying user and kernel pages

2013-10-03 Thread Piyus Kedia
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 -- To unsubscribe from this list: send the line unsubscribe