Re: [RFC] Simple Slab: A slab allocator with minimal meta information
From: Christoph Lameter
Date: Thu Aug 10 2006 - 11:23:46 EST
On Thu, 10 Aug 2006, KAMEZAWA Hiroyuki wrote:
> BTW, in recent Linux, many objects are freed by call_rcu(hoo, dealyed_free_foo).
> Objects are freed far after it was touched.
> I think catching this kind of freeing will not boost performance by cache-hit if
> reuse freed page (object).
Yes that is a general problem with RCU freeing. One can use the
SLAB_DESTROY_BY_RCU option to have RCU applied to the whole slab. In that
case on can use the cache hot effect but has the additional problem in RCU
of dealing with the issue that the object can be replaced at any time.
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/