Messages in this thread |  | | | Date | Fri, 6 Jul 2001 23:06:51 +0100 (BST) | | From | Hugh Dickins <> | | Subject | Re: [PATCH] OOM kill trigger fix |
| |
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/
|  |