On Mon, 2007-02-26 at 11:11 -0800, Nishanth Aravamudan wrote: > We currently use extra hugepages for writable segments because of the > first MAP_SHARED mmap() which stays resident in the page cache. Use a > helper function to force a COW for the filesz portion, as well as the > extracopy area, of writable segments and then fadvise() to drop the page > cache pages while keeping our PRIVATE mapping. This is mutually > exclusive to segment sharing, but is also orthogonal in code because we > only allow sharing of read-only segments. Also, if the minimal_copy > algorithm is disabled, we disable this optimization. > > Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMAIL PROTECTED]> -- Adam Litke - (agl at us.ibm.com) IBM Linux Technology Center
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Libhugetlbfs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel
