[RFC PATCH 1/2] ARM: cache-l2x0: avoid taking spinlock for every iteration

Catalin Marinas catalin.marinas at arm.com
Mon Dec 14 05:21:26 EST 2009


On Sat, 2009-12-12 at 17:40 +0000, Russell King - ARM Linux wrote:
> Taking the spinlock for every iteration is very expensive; instead,
> batch iterations up into 4K blocks, releasing and reacquiring the
> spinlock between each block.
> 
> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

It looks fine to me:

Acked-by: Catalin Marinas <catalin.marinas at arm.com>

-- 
Catalin




More information about the linux-arm-kernel mailing list