Re: Page Mapping

Ed L Cashin
2004-04-19T15:58:17Z

Ed L Cashin <ecashin@uga.edu> writes:

...
> If you know the page is present in RAM and you want to access the
> contents of the page, you can convert it to a virtual address and then
> use that address. There's the "phys_to_virt" function that you can
> use.

I should have mentioned that looking at get_user_pages in mm/memory.c
first is a good idea. It will help remind you of all the
synchronization issues.

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