From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Lameter Subject: Re: [PATCH 2/4] slub,rcu: don't assume the size of struct rcu_head Date: Tue, 1 Mar 2011 09:11:31 -0600 (CST) Message-ID: References: <4D6CA852.3060303@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Lai Jiangshan , Ingo Molnar , "Paul E. McKenney" , Eric Dumazet , "David S. Miller" , Matt Mackall , linux-mm@kvack.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: Pekka Enberg Return-path: Received: from smtp109.prem.mail.ac4.yahoo.com ([76.13.13.92]:27698 "HELO smtp109.prem.mail.ac4.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756566Ab1CAPLf (ORCPT ); Tue, 1 Mar 2011 10:11:35 -0500 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 1 Mar 2011, Pekka Enberg wrote: > The SLAB and SLUB patches are fine by me if there are going to be real > users for this. Christoph, Paul? The solution is a bit overkill. It would be much simpler to add a union to struct page that has lru and the rcu in there similar things can be done for SLAB and the network layer. A similar issue already exists for the spinlock in struct page. Lets follow the existing way of handling this. Struct page may be larger for debugging purposes already because of the need for extended spinlock data.