Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755842AbZF0HNZ (ORCPT ); Sat, 27 Jun 2009 03:13:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753408AbZF0HNR (ORCPT ); Sat, 27 Jun 2009 03:13:17 -0400 Received: from mx2.redhat.com ([66.187.237.31]:46484 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752763AbZF0HNQ (ORCPT ); Sat, 27 Jun 2009 03:13:16 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <3901.1245848839@redhat.com> References: <3901.1245848839@redhat.com> <20090624023251.GA16483@localhost> <20090620043303.GA19855@localhost> <32411.1245336412@redhat.com> <20090517022327.280096109@intel.com> <2015.1245341938@redhat.com> <20090618095729.d2f27896.akpm@linux-foundation.org> <7561.1245768237@redhat.com> To: Wu Fengguang , "riel@redhat.com" , "minchan.kim@gmail.com" Cc: dhowells@redhat.com, Andrew Morton , LKML , Christoph Lameter , KOSAKI Motohiro , "hannes@cmpxchg.org" , "peterz@infradead.org" , "tytso@mit.edu" , "linux-mm@kvack.org" , "elladan@eskimo.com" , "npiggin@suse.de" Subject: Found the commit that causes the OOMs Date: Sat, 27 Jun 2009 08:12:49 +0100 Message-ID: <26537.1246086769@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1558 Lines: 40 I've managed to bisect things to find the commit that causes the OOMs. It's: commit 69c854817566db82c362797b4a6521d0b00fe1d8 Author: MinChan Kim Date: Tue Jun 16 15:32:44 2009 -0700 vmscan: prevent shrinking of active anon lru list in case of no swap space V3 shrink_zone() can deactivate active anon pages even if we don't have a swap device. Many embedded products don't have a swap device. So the deactivation of anon pages is unnecessary. This patch prevents unnecessary deactivation of anon lru pages. But, it don't prevent aging of anon pages to swap out. Signed-off-by: Minchan Kim Acked-by: KOSAKI Motohiro Cc: Johannes Weiner Acked-by: Rik van Riel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds This exhibits the problem. The previous commit: commit 35282a2de4e5e4e173ab61aa9d7015886021a821 Author: Brice Goglin Date: Tue Jun 16 15:32:43 2009 -0700 migration: only migrate_prep() once per move_pages() survives 16 iterations of the LTP syscall testsuite without exhibiting the problem. David -- 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/