Ok, never mind then. Sorry for spreading misinformation.
But I wonder then why Linus' patch doesn't prevent the killing
of the complete page cache then.
-Andi
P.S.: while reading vmscan.c: would it make sense to add the following
into the inner loop of swap_out (assuming maxover is 0 initially)?
over = (p->rlim[RLIMIT_RSS].rlim_cur>>PAGE_SHIFT) - p->mm->rss;
if (over < maxover) {
pbest = p;
maxover = over;
continue;
}
With that RLIMIT_RSS would at least make some sense.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/