Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756171AbZJSNbl (ORCPT ); Mon, 19 Oct 2009 09:31:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756130AbZJSNbk (ORCPT ); Mon, 19 Oct 2009 09:31:40 -0400 Received: from gir.skynet.ie ([193.1.99.77]:49412 "EHLO gir.skynet.ie" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756112AbZJSNbk (ORCPT ); Mon, 19 Oct 2009 09:31:40 -0400 Date: Mon, 19 Oct 2009 14:31:46 +0100 From: Mel Gorman To: Tobi Oetiker Cc: Frans Pop , Pekka Enberg , David Rientjes , KOSAKI Motohiro , "Rafael J. Wysocki" , Linux Kernel Mailing List , Kernel Testers List , Reinette Chatre , Bartlomiej Zolnierkiewicz , Karol Lewandowski , Mohamed Abbas , "John W. Linville" , linux-mm@kvack.org, jens.axboe@oracle.com Subject: Re: [Bug #14141] order 2 page allocation failures (generic) Message-ID: <20091019133146.GB9036@csn.ul.ie> References: <3onW63eFtRF.A.xXH.oMTxKB@chimera> <200910190133.33183.elendil@planet.nl> <1255912562.6824.9.camel@penberg-laptop> <200910190444.55867.elendil@planet.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4139 Lines: 71 On Mon, Oct 19, 2009 at 11:49:08AM +0200, Tobi Oetiker wrote: > Today Frans Pop wrote: > > > > > I'm starting to think that this commit may not be directly related to high > > order allocation failures. The fact that I'm seeing SKB allocation > > failures earlier because of this commit could be just a side effect. > > It could be that instead the main impact of this commit is on encrypted > > file system and/or encrypted swap (kcryptd). > > > > Besides mm the commit also touches dm-crypt (and nfs/write.c, but as I'm > > only reading from NFS that's unlikely). > > I have updated a fileserver to 2.6.31 today and I see page > allocation failures from several parts of the system ... mostly nfs though ... (it is a nfs server). > So I guess the problem must be quite generic: > > > Oct 19 07:10:02 johan kernel: [23565.684110] swapper: page allocation failure. order:5, mode:0x4020 [kern.warning] > Oct 19 07:10:02 johan kernel: [23565.684118] Pid: 0, comm: swapper Not tainted 2.6.31-02063104-generic #02063104 [kern.warning] > Oct 19 07:10:02 johan kernel: [23565.684121] Call Trace: [kern.warning] > Oct 19 07:10:02 johan kernel: [23565.684124] [] __alloc_pages_slowpath+0x3b2/0x4c0 [kern.warning] > What's the rest of the stack trace? I'm wondering where a large number of order-5 GFP_ATOMIC allocations are coming from. It seems different to the e100 problem where there is one GFP_ATOMIC allocation while the firmware is being loaded. Thanks > > Oct 19 08:59:16 johan kernel: [30120.685647] __ratelimit: 13 callbacks suppressed [kern.warning] > Oct 19 08:59:16 johan kernel: [30120.685654] nfsd: page allocation failure. order:5, mode:0x4020 [kern.warning] > Oct 19 08:59:16 johan kernel: [30120.685660] Pid: 6071, comm: nfsd Not tainted 2.6.31-02063104-generic #02063104 [kern.warning] > Oct 19 08:59:16 johan kernel: [30120.685663] Call Trace: [kern.warning] > Oct 19 08:59:16 johan kernel: [30120.685666] [] __alloc_pages_slowpath+0x3b2/0x4c0 [kern.warning] > > Oct 19 09:36:31 johan kernel: [32355.708345] __ratelimit: 16 callbacks suppressed [kern.warning] > Oct 19 09:36:31 johan kernel: [32355.708352] nfsd: page allocation failure. order:5, mode:0x4020 [kern.warning] > Oct 19 09:36:31 johan kernel: [32355.708358] Pid: 6087, comm: nfsd Not tainted 2.6.31-02063104-generic #02063104 [kern.warning] > Oct 19 09:36:31 johan kernel: [32355.708361] Call Trace: [kern.warning] > Oct 19 09:36:31 johan kernel: [32355.708364] [] __alloc_pages_slowpath+0x3b2/0x4c0 [kern.warning] > > Oct 19 10:52:01 johan kernel: [36885.358312] __ratelimit: 31 callbacks suppressed [kern.warning] > Oct 19 10:52:01 johan kernel: [36885.358319] nfsd: page allocation failure. order:5, mode:0x4020 [kern.warning] > Oct 19 10:52:01 johan kernel: [36885.358325] Pid: 6057, comm: nfsd Not tainted 2.6.31-02063104-generic #02063104 [kern.warning] > Oct 19 10:52:01 johan kernel: [36885.358327] Call Trace: [kern.warning] > Oct 19 10:52:01 johan kernel: [36885.358331] [] __alloc_pages_slowpath+0x3b2/0x4c0 [kern.warning] > > Oct 19 11:12:01 johan kernel: [38085.163831] events/3: page allocation failure. order:5, mode:0x4020 [kern.warning] > Oct 19 11:12:01 johan kernel: [38085.163840] Pid: 18, comm: events/3 Not tainted 2.6.31-02063104-generic #02063104 [kern.warning] > Oct 19 11:12:01 johan kernel: [38085.163843] Call Trace: [kern.warning] > Oct 19 11:12:01 johan kernel: [38085.163846] [] __alloc_pages_slowpath+0x3b2/0x4c0 [kern.warning] > > > > -- > Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland > http://it.oetiker.ch tobi@oetiker.ch ++41 62 775 9902 / sb: -9900 > -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- 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/