Re: SLUB: Avoid atomic operation for slab_unlock

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Thursday, October 18, 2007 - 6:56 pm

On Friday 19 October 2007 11:21, Christoph Lameter wrote:

Oh, OK. Bit risky ;) You might be right, but anyway I think it
should be just as fast with the optimised bit_unlock on most
architectures.

Which reminds me, it would be interesting to test the ia64
implementation I did. For the non-atomic unlock, I'm actually
doing an atomic operation there so that it can use the release
barrier rather than the mf. Maybe it's faster the other way around
though? Will be useful to test with something that isn't a trivial
loop, so the slub case would be a good benchmark.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: SLUB: Avoid atomic operation for slab_unlock, Nick Piggin, (Thu Oct 18, 4:49 pm)
Re: SLUB: Avoid atomic operation for slab_unlock, Christoph Lameter, (Thu Oct 18, 6:21 pm)
Re: SLUB: Avoid atomic operation for slab_unlock, Nick Piggin, (Thu Oct 18, 6:56 pm)
Re: SLUB: Avoid atomic operation for slab_unlock, Christoph Lameter, (Thu Oct 18, 7:01 pm)
Re: SLUB: Avoid atomic operation for slab_unlock, Nick Piggin, (Thu Oct 18, 7:12 pm)
[IA64] Reduce __clear_bit_unlock overhead, Christoph Lameter, (Thu Oct 18, 8:26 pm)
Re: SLUB: Avoid atomic operation for slab_unlock, Christoph Lameter, (Fri Oct 19, 4:20 am)