Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030329AbVKWGgr (ORCPT ); Wed, 23 Nov 2005 01:36:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030365AbVKWGgr (ORCPT ); Wed, 23 Nov 2005 01:36:47 -0500 Received: from graphe.net ([209.204.138.32]:35712 "EHLO graphe.net") by vger.kernel.org with ESMTP id S1030329AbVKWGgr (ORCPT ); Wed, 23 Nov 2005 01:36:47 -0500 Date: Tue, 22 Nov 2005 22:36:41 -0800 (PST) From: Christoph Lameter X-X-Sender: christoph@graphe.net To: Andrew Morton cc: Rohit Seth , torvalds@osdl.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH]: Free pages from local pcp lists under tight memory conditions In-Reply-To: <20051122213612.4adef5d0.akpm@osdl.org> Message-ID: References: <20051122161000.A22430@unix-os.sc.intel.com> <20051122213612.4adef5d0.akpm@osdl.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -5.8 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1026 Lines: 26 On Tue, 22 Nov 2005, Andrew Morton wrote: > > [PATCH]: This patch free pages (pcp->batch from each list at a time) from > > local pcp lists when a higher order allocation request is not able to > > get serviced from global free_list. > > > > This should help fix some of the earlier failures seen with order 1 allocations. > > > > I will send separate patches for: > > > > 1- Reducing the remote cpus pcp That is already partially done by drain_remote_pages(). However, that draining is specific to this processors remote pagesets in remote zones. > This significantly duplicates the existing drain_local_pages(). We need to extract __drain_pcp from all these functions and clearly document how they differ. Seth probably needs to call __drain_pages for each processor. - 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/