From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH] earlier allocation of order 0 pages from pcp in __alloc_pages From: Rohit Seth In-Reply-To: <20050929153626.3ab4fce1.akpm@osdl.org> References: <20050929150155.A15646@unix-os.sc.intel.com> <20050929153626.3ab4fce1.akpm@osdl.org> Content-Type: text/plain Date: Thu, 29 Sep 2005 18:05:24 -0700 Message-Id: <1128042325.3735.11.camel@akash.sc.intel.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On Thu, 2005-09-29 at 15:36 -0700, Andrew Morton wrote: > "Seth, Rohit" wrote: > > > > [PATCH]: Try to service a order 0 page request in __alloc_pages from the pcp list before checking the aone_watermarks. > > > > Try to service a order 0 page request from pcp list. This will allow us to not check and possibly start the reclaim activity when there are free pages present on the pcp. This early allocation does not try to replenish an empty pcp. > > (Please avoid the 240-column emails!) > This is bad. Sorry. > Why is this a desirable change to make? This change avoids any checks for watermarks and starting potential reclaims for the cases where we already know we don't need to. -rohit -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org