> I dont think this would work as you expect it to...as swap_out_process
> does not swap_out the whole process, but just one page...am I wrong here?
No, your completely right... What would work is:
while (p->mm->rss) {
int gfp = GFP_SWAPOUT_NOW_YOU_DAMNIT;
swapout_process(p, gfp);
}
Or something like this anyway :-)
Rik.
+-------------------------------------------+--------------------------+
| Linux: - LinuxHQ MM-patches page | Scouting webmaster |
| - kswapd ask-him & complain-to guy | Vries cubscout leader |
| http://www.fys.ruu.nl/~riel/ | <H.H.vanRiel@fys.ruu.nl> |
+-------------------------------------------+--------------------------+
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu