Re: [PATCH] ps3vram: Replace mutex by spinlock + list

2009-04-03 Thread Jens Axboe
On Fri, Apr 03 2009, Geert Uytterhoeven wrote: > Remove the mutex serializing access to the cache. > Instead, queue up new requests on a list if the driver is busy. > > This improves sequential write performance by ca. 2%. Great, precisely the method I wanted to see there! I've added your three p

[PATCH] ps3vram: Replace mutex by spinlock + list

2009-04-03 Thread Geert Uytterhoeven
Remove the mutex serializing access to the cache. Instead, queue up new requests on a list if the driver is busy. This improves sequential write performance by ca. 2%. Signed-off-by: Geert Uytterhoeven --- drivers/block/ps3vram.c | 55 ++ 1 files ch