Results 1 to 1 of 1
Hi,
I use ioremap() to create a memory mapping in my kernel module. I would like to change some flags of the corresponding pages, but I don't know how. Probably ...
- 12-06-2011 #1Just Joined!
- Join Date
- Dec 2011
- Posts
- 1
Changing page flags
Hi,
I use ioremap() to create a memory mapping in my kernel module. I would like to change some flags of the corresponding pages, but I don't know how. Probably it is necessary to access the appropriate "page struct*" and update its "flags" field. However, when I try to use virt_to_page macro to get the page struct it doesn't work. Somewhere I saw that it is not possible to use virt_to_page with addresses obtained using ioremap(). What other means shoud I use to access the appropriate page table entry?


Reply With Quote
