From: Christoph Lameter Subject: Re: [PATCH 3/3] mm: slub: Default slub_max_order to 0 Date: Thu, 12 May 2011 13:00:10 -0500 (CDT) Message-ID: References: <1305127773-10570-4-git-send-email-mgorman@suse.de> <1305213359.2575.46.camel@mulgrave.site> <1305214993.2575.50.camel@mulgrave.site> <20110512154649.GB4559@redhat.com> <1305216023.2575.54.camel@mulgrave.site> <1305217843.2575.57.camel@mulgrave.site> <20110512174641.GL11579@random.random> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: James Bottomley , Dave Jones , Mel Gorman , Andrew Morton , Colin King , Raghavendra D Prabhu , Jan Kara , Chris Mason , Pekka Enberg , Rik van Riel , Johannes Weiner , linux-fsdevel , linux-mm , linux-kernel , linux-ext4 To: Andrea Arcangeli Return-path: In-Reply-To: <20110512174641.GL11579@random.random> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org On Thu, 12 May 2011, Andrea Arcangeli wrote: > order 1 should work better, because it's less likely we end up here > (which leaves RECLAIM_MODE_LUMPYRECLAIM on and then see what happens > at the top of page_check_references()) > > else if (sc->order && priority < DEF_PRIORITY - 2) Why is this DEF_PRIORITY - 2? Shouldnt it be DEF_PRIORITY? An accomodation for SLAB order 1 allocs? May I assume that the case of order 2 and 3 allocs in that case was not very well tested after the changes to introduce compaction since people were focusing on RHEL testing?