Remaping page range

From: Mile Davidovic
Date: Tue May 06 2008 - 09:10:17 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/