hard question re: swap cache
I thought of a simple example. Suppose processes a,b,c have a shared, anonymous page. All processes have this page present. Then the page for a is swapped out. Then b and c exit unexpectedly, after making changes to the page. When and if 'a' has the page swapped back in, what mechanism guarantees that it will see the changes made by b and c? Where specifically in the code, in what functions, does it reside for kernel 2.5?
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 6 lines · Carl Spalletta
I thought of a simple example. Suppose processes a,b,c have a shared, anonymous page. All processes have this page present. Then the page for a is swapped out. Then b and c exit unexpectedly, after making changes to the page. When and if 'a' has the page swapped back in, what mechanism guarantees that it will see the changes made by b and c?
I don't think it makes much sense to say "the page for a" in the case of a shared page.
Signature · 6 lines
Sean Neakums - <[email protected]> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>