Getting struct page for userspace pointer

Nikolaus Rath Nikolaus at rath.org
Wed Feb 9 09:20:07 EST 2011


Hello,

Is there a way to get the corresponding struct page* for an userspace
pointer *if it exists*? I am basically looking for a "passive" version
of get_user_pages() that does not lock the page and does not put the
page into memory if it's swapped out.


Thanks,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C



More information about the Kernelnewbies mailing list