Skip to contentSkip to conversation

Remaping page range

DISCUSSION Mile Davidovic 1 participant 1 message May 6, 2008

lore
Share & tools
lore
#0 lore raw

Specific problem.
for recovery reasons I need to keep current mmaping in user space, but to force Kernel to invalidate pages assigned to given file descriptor. I tried wild-guess with 'zap_page_range' and 'invalidate_inode_pages'.... does not work.

Is there already way to remove all pages linked to specific inode?

Something like 'do_mremap' will be perfect, only if I can overlap old and new address....

Thanks in advance