Re: [2.4] heavy-load under swap space shortage

From: Nick Piggin
Date: Mon Mar 15 2004 - 17:57:53 EST




Andrea Arcangeli wrote:


Either that or you can choose to do some overwork and to shrink from all
the zones removing this break:

if (ret >= nr_pages)
break;

but as far as I can tell, the 50% waste of cache in a 2G box can happen
in 2.6.4 and it won't happen in 2.4.x.



Yeah you are right. Some patches have since gone into 2.6-bk and
this is one of the things fixed up.

Nick

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/