Re: [PATCH] mm: count only reclaimable lru pages

From: Rik van Riel
Date: Thu Jul 16 2009 - 12:25:52 EST


David Howells wrote:
Wu Fengguang <fengguang.wu@xxxxxxxxx> wrote:

It can greatly (and correctly) increase the slab scan rate under high memory
pressure (when most file pages have been reclaimed and swap is full/absent),
thus avoid possible false OOM kills.

I applied this to my test machine's kernel and rebooted. It hit the OOM
killer a few seconds after starting msgctl11 . Furthermore, it was not then
responsive to SysRq+b or anything else and had to have the magic button
pushed.

It's part of a series of patches, including the three
posted by Kosaki-san last night (to track the number
of isolated pages) and the patch I posted last night
(to throttle reclaim when too many pages are isolated).

--
All rights reversed.
--
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/