Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759677AbZCWTD2 (ORCPT ); Mon, 23 Mar 2009 15:03:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756250AbZCWTDT (ORCPT ); Mon, 23 Mar 2009 15:03:19 -0400 Received: from courier.cs.helsinki.fi ([128.214.9.1]:37179 "EHLO mail.cs.helsinki.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755250AbZCWTDS (ORCPT ); Mon, 23 Mar 2009 15:03:18 -0400 Message-ID: <49C7DC04.9060006@cs.helsinki.fi> Date: Mon, 23 Mar 2009 20:59:16 +0200 From: Pekka Enberg User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Christoph Lameter CC: Ingo Molnar , Lai Jiangshan , Andrew Morton , Nick Piggin , "Paul E. McKenney" , Manfred Spraul , Peter Zijlstra , linux-kernel@vger.kernel.org Subject: Re: [PATCH -mm 1/6] slab: introduce __kfree_rcu References: <49AD3433.9000001@cn.fujitsu.com> <1237794502.6313.21.camel@penberg-laptop> <20090323155938.GA27151@elte.hu> <20090323165639.GA6841@elte.hu> <84144f020903231049o11de5287w7bdb5c28e866dafb@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 766 Lines: 21 On Mon, 23 Mar 2009, Pekka Enberg wrote: >> Well, like I said, it was a minor nitpick, that's all. I would prefer >> it the way I and Ingo suggested but if you don't want to change it, >> that's fine as well. Christoph Lameter wrote: > Maybe put some macros in to make these "pickup the context" thingies more > readable. Or would a macro obfuscate things? > > #define GET_SLAB_CONTEXT(pointer, slab, cache, page) > > and > > #define GET_OBJECT_CONTEXT(pointer, slab, index, offset) ? It would obfuscate things :-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/