Re: [PATCH] OOM kill trigger fix

From: Hugh Dickins (hugh@veritas.com)
Date: Fri Jul 06 2001 - 17:06:51 EST


On Fri, 6 Jul 2001, Rik van Riel wrote:
>
> Of course, to implement this we have to count the number of
> swapcache pages, but that's a 2-liner ;)

swapper_space.nrpages already counts that (as Andrea once pointed out),
no need to add your nr_swapcache_pages.

Hugh

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



This archive was generated by hypermail 2b29 : Sat Jul 07 2001 - 21:00:19 EST