From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754967AbZBWOcn (ORCPT ); Mon, 23 Feb 2009 09:32:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753528AbZBWOce (ORCPT ); Mon, 23 Feb 2009 09:32:34 -0500 Received: from gir.skynet.ie ([193.1.99.77]:55561 "EHLO gir.skynet.ie" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752579AbZBWOce (ORCPT ); Mon, 23 Feb 2009 09:32:34 -0500 Date: Mon, 23 Feb 2009 14:32:32 +0000 From: Mel Gorman To: Andi Kleen Cc: Linux Memory Management List , Pekka Enberg , Rik van Riel , KOSAKI Motohiro , Christoph Lameter , Johannes Weiner , Nick Piggin , Linux Kernel Mailing List , Lin Ming , Zhang Yanmin Subject: Re: [RFC PATCH 00/20] Cleanup and optimise the page allocator Message-ID: <20090223143232.GJ6740@csn.ul.ie> References: <1235344649-18265-1-git-send-email-mel@csn.ul.ie> <87ljryuij0.fsf@basil.nowhere.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <87ljryuij0.fsf@basil.nowhere.org> 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 On Mon, Feb 23, 2009 at 01:02:59AM +0100, Andi Kleen wrote: > Mel Gorman writes: > > > BTW one additional tuning opportunity would be to change cpusets to > always precompute zonelists out of line and then avoid doing > all these checks in the fast path. > hmm, it would be ideal but I haven't looked too closely at how it could be implemented. I thought first you could just associate a zonelist with the cpuset but you'd need one for each node allowed by the cpuset so it could get quite large. Then again, it might be worthwhile if cpusets were expected to be very long lived. If there are any users of cpusets watching, would you be interested in profiling with cpusets enabled and see how much time we spend in that code? -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab