How to invalidate pages mapped with nopage vm_operation
A message that is not in the archive (sent off-list or not yet received): [email protected]
I got no reply from kernel-newbies. Any one can help me?
Do I use zap_page_range() ?? This doesn't seem to be exported to modules. Any ideas what to do?
~mc
Quoted 18 lines · Michael Clark
Hi,
I have a char driver that implements mmap by overriding the nopage
vm_operation(rather than usingremap_page_range).What it the correct way to invalidate these mappings so I will re-take a fault on the next access to the addresses previously mapped by my nopage function?
~mc
Signature · 3 lines
Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/