From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with ESMTP id A2E698D0039 for ; Tue, 1 Mar 2011 08:00:03 -0500 (EST) Received: by yib2 with SMTP id 2so2521841yib.14 for ; Tue, 01 Mar 2011 05:00:02 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4D6CA852.3060303@cn.fujitsu.com> References: <4D6CA852.3060303@cn.fujitsu.com> Date: Tue, 1 Mar 2011 15:00:02 +0200 Message-ID: Subject: Re: [PATCH 2/4] slub,rcu: don't assume the size of struct rcu_head From: Pekka Enberg Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Lai Jiangshan 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 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