From: Andrew Morton Subject: Re: [PATCH 3/3] mm: slub: Default slub_max_order to 0 Date: Thu, 12 May 2011 10:37:09 -0700 Message-ID: <20110512103709.abbc9872.akpm@linux-foundation.org> References: <1305127773-10570-1-git-send-email-mgorman@suse.de> <1305127773-10570-4-git-send-email-mgorman@suse.de> <1305213359.2575.46.camel@mulgrave.site> <1305214993.2575.50.camel@mulgrave.site> <1305216638.3795.36.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Christoph Lameter , James Bottomley , Mel Gorman , 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: Eric Dumazet Return-path: In-Reply-To: <1305216638.3795.36.camel@edumazet-laptop> Sender: owner-linux-mm@kvack.org List-Id: linux-ext4.vger.kernel.org On Thu, 12 May 2011 18:10:38 +0200 Eric Dumazet wrote: > More fuel to this discussion with commit 6d4831c2 > > Something is wrong with high order allocations, on some machines. > > Maybe we can find real cause instead of limiting us to use order-0 pages > in the end... ;) > > commit 6d4831c283530a5f2c6bd8172c13efa236eb149d > Author: Andrew Morton > Date: Wed Apr 27 15:26:41 2011 -0700 > > vfs: avoid large kmalloc()s for the fdtable Well, it's always been the case that satisfying higher-order allocations take a disproportionate amount of work in page reclaim. And often causes excessive reclaim. That's why we've traditionally worked to avoid higher-order allocations, and this has always been a problem with slub. But the higher-order allocations shouldn't cause the VM to melt down. We changed something, and now it melts down. Changing slub to avoid that meltdown doesn't fix the thing we broke. -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org