Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757853Ab3CTFsS (ORCPT ); Wed, 20 Mar 2013 01:48:18 -0400 Received: from server.atrad.com.au ([150.101.241.2]:50056 "EHLO server.atrad.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755258Ab3CTFsR (ORCPT ); Wed, 20 Mar 2013 01:48:17 -0400 Date: Wed, 20 Mar 2013 16:17:53 +1030 From: Jonathan Woithe To: Raymond Jennings Cc: Hillf Danton , David Rientjes , Linux-MM , LKML , Jonathan Woithe Subject: Re: OOM triggered with plenty of memory free Message-ID: <20130320054753.GN12411@marvin.atrad.com.au> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1944 Lines: 42 On Sat, Mar 16, 2013 at 02:33:23AM -0700, Raymond Jennings wrote: > On Sat, Mar 16, 2013 at 2:25 AM, Hillf Danton wrote: > >> Some system specifications: > >> - CPU: i7 860 at 2.8 GHz > >> - Mainboard: Advantech AIMB-780 > >> - RAM: 4 GB > >> - Kernel: 2.6.35.11 SMP, 32 bit (kernel.org kernel, no patches applied) > > > The highmem no longer holds memory with 64-bit kernel. > > I don't really think that's a valid reason to dismiss problems with > 32-bit though, as I still use it myself. > > Anyway, to the parent poster, could you tell us more, such as how much > ram you had left free? Following up on my previous response, I have now done a git bisect and it seems the leak was introduced by commit cab9e9848b9a8283b0504a2d7c435a9f5ba026de. This was applied in the leadup to 2.6.35.11, so 2.6.35.10 and earlier were all free of the problem. As far as I can tell, 2.6.36 and later are also unaffected. I don't know whether this is because the offending code in mainline is different to that applied to 2.6.35.x, or that due to other changes we're just not hitting the problem in later kernels. I should add that the above commit forms part of a series which appears to have been applied out of order; to get it to compile it was necessary to apply afa01a2cc021a5f03f02364bb867af3114395304 due to cab9...26de using a function which was only added in afa0...5304. As a result, while I think the root cause is cab9...26de I may have misinterpreted things such that one of the other patches in the series is the trigger. I'll continue testing to try to identify which commit fixed the problem and to confirm that 2.6.36 was indeed free of the leak. Regards jonathan -- 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/