Re: [PATCH -mm 1/6] slab: introduce __kfree_rcu

From: Christoph Lameter
Date: Mon Mar 23 2009 - 14:09:58 EST


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.

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) ?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/