Re: [PATCH 2/4] slub,rcu: don't assume the size of struct rcu_head

From: Pekka Enberg
Date: Tue Mar 01 2011 - 08:00:17 EST


On Tue, Mar 1, 2011 at 10:03 AM, Lai Jiangshan <laijs@xxxxxxxxxxxxxx> 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 <laijs@xxxxxxxxxxxxxx>

The SLAB and SLUB patches are fine by me if there are going to be real
users for this. Christoph, Paul?
--
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/