Re: [PATCH] OOM kill trigger fix

Rik van Riel (riel@conectiva.com.br)
Fri, 6 Jul 2001 19:16:33 -0300 (BRST)


On Fri, 6 Jul 2001, Hugh Dickins wrote:
> 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.

Whoops, indeed...

Rik

--
Executive summary of a recent Microsoft press release:
   "we are concerned about the GNU General Public License (GPL)"

http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com/

- 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/