Re: oom-killer 2.6.8.1
From: William Lee Irwin III
Date: Wed Aug 18 2004 - 16:29:38 EST
On Wednesday 18 August 2004 16:05, William Lee Irwin III wrote:
>> Index: oom-2.6.8-rc1/mm/vmscan.c
>> ===================================================================
>> --- oom-2.6.8-rc1.orig/mm/vmscan.c 2004-07-14 06:17:13.876343912 -0700
>> +++ oom-2.6.8-rc1/mm/vmscan.c 2004-07-14 06:22:15.986416200 -0700
>> @@ -417,7 +417,8 @@
>> goto keep_locked;
>> if (!may_enter_fs)
>> goto keep_locked;
>> - if (laptop_mode && !sc->may_writepage)
>> + if (laptop_mode && !sc->may_writepage &&
>> + !PageSwapCache(page))
>> goto keep_locked;
>>
>> /* Page is dirty, try to write it out here */
On Wed, Aug 18, 2004 at 04:24:24PM +0200, Anders Saaby wrote:
> laptop_mode is not set on this server <- :-)
> - So I guess this is not relevant for my setup?
Probably not. Please try to collect /proc/slabinfo snapshots while the
system is still functional as it degrades.
-- wli
-
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/