[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how pte to struct task_struct ptr via rmap?



I got the answer from Rik van Riel, the rmap author.  While you can
get the mm struct from a pte, there's no direct way to get to the
task_struct(s). 

You could always search the task list.

-- 
--Ed L Cashin            |   PGP public key:
  ecashin@xxxxxxx        |   http://noserose.net/e/pgp/


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/