Re: temp. mem mappings

Timur Tabi
2001-06-05T18:25:27Z

** Reply to message from cohutta <cohutta@MailAndNews.com> on Tue, 5 Jun 2001
13:54:15 -0400

> what is the a preferred/correct method to map and unmap memory
> temporarily?

Allocate a virtual memory area using vmalloc and then save and modify the
pmd/pgd/pte to point to the physical memory you want. To unmap, just undo the
previous steps.

--
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com