Return-path: Received: from smtp2.ultrahosting.com ([74.213.174.253]:46685 "EHLO smtp.ultrahosting.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932275AbZINSGo (ORCPT ); Mon, 14 Sep 2009 14:06:44 -0400 Date: Mon, 14 Sep 2009 14:04:11 -0400 (EDT) From: Christoph Lameter To: Mel Gorman cc: Zhu Yi , "Chatre, Reinette" , Frans Pop , Larry Finger , "John W. Linville" , Pekka Enberg , "linux-kernel@vger.kernel.org" , "linux-wireless@vger.kernel.org" , "ipw3945-devel@lists.sourceforge.net" , Andrew Morton , "Krauss, Assaf" , Johannes Berg , "Abbas, Mohamed" Subject: Re: iwlagn: order 2 page allocation failures In-Reply-To: <20090914175942.GH11778@csn.ul.ie> Message-ID: References: <4AA67139.80301@lwfinger.net> <20090909150418.GI24614@csn.ul.ie> <200909091759.33655.elendil@planet.nl> <20090909165545.GK24614@csn.ul.ie> <1252526738.30150.91.camel@rc-desk> <20090910090206.GA22276@csn.ul.ie> <1252617290.30150.321.camel@rc-desk> <20090911084717.GB32497@csn.ul.ie> <1252897270.5650.169.camel@debian> <20090914175942.GH11778@csn.ul.ie> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, 14 Sep 2009, Mel Gorman wrote: > The allocation of buffers >= PAGE_SIZE even when allocated with > kmalloc() are page-aligned though right? It's not an explicit guarantee > but is it not always the case? Its typically the case but debug options may misalign the object. The guarantee for kmalloc caches is to be cacheline aligned.