[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mquery call and page faults



Hello -

I scanned the docs and code for a counterpart to the mprotect call: I
would like some way to query the vm_flags for a page (or set of pages).
It would be great if it was possible to check the page-flag values as
well (locked, dirty, etc), tho this is less important. 

Finally, is there an architecture-independent method for determining the
type of page fault? The only thing I've found was in the do_page_fault
call, but it is processor-dependent.

I would be happy to implement these features if they do not already
exist and if noone else is working on them. Any suggestions are welcome.

thanks!
--craig
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/