On 09/28/06 18:21, Bart Smaalders wrote:
One easy way to experiment with alternate page coloring algorithms is to use meminfo to get the physical adress of pages in an mmaped file from userland, and then remap the pages to get the coloring you want to run your algorithm against....
Do you need to lock things down via mlock/mlockall/memcntl before using meminfo, otherwise the answers could be changing behind your back if mappings are invalidated for some reason (like pageout). Gavin _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code