I was wondering if there was any kernel function calls that would allow me to 
install callbacks (either in userspace or as a kernel module) whenever a memory 
page is about to be swapped to disk or whenever a page is swapped back into 
memory.   

A colleague has used installctx() to register thread scheduling/descheduling 
callbacks using a kernel module before, and I was wondering if there is 
something similar for the paging code.

   Also it is necessary for me to know the physical page frame and the current 
virtual page that is mapped to it, for the memory page that is involved in the 
swap activity.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to