From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pekka Enberg Subject: Re: [PATCH 2/4] slub,rcu: don't assume the size of struct rcu_head Date: Tue, 1 Mar 2011 15:00:02 +0200 Message-ID: References: <4D6CA852.3060303@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Ingo Molnar , "Paul E. McKenney" , Christoph Lameter , Eric Dumazet , "David S. Miller" , Matt Mackall , linux-mm@kvack.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: Lai Jiangshan Return-path: In-Reply-To: <4D6CA852.3060303@cn.fujitsu.com> Sender: owner-linux-mm@kvack.org List-Id: netdev.vger.kernel.org On Tue, Mar 1, 2011 at 10:03 AM, Lai Jiangshan wrote: > The size of struct rcu_head may be changed. When it becomes larger, > it will pollute the page array. > > We reserve some some bytes for struct rcu_head when a slab > is allocated in this situation. > > Signed-off-by: Lai Jiangshan The SLAB and SLUB patches are fine by me if there are going to be real users for this. Christoph, Paul? -- 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