commit | fb89e89d0ff6142f0616eb8260ea89d6fd924982 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | Wed Jun 10 04:38:41 2009 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Jun 15 16:47:22 2009 +1000 |
tree | 75a8457c238807871a48be213abb719765901061 | |
parent | 13685a1654b65357fb34066a98ef40445f7820fc [diff] |
ps3vram: Replace mutex by spinlock + bio_list Remove the mutex serializing access to the cache. Instead, queue up new requests on a bio_list if the driver is busy. This improves sequential write performance by ca. 2%. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Cc: Jim Paris <jim@jtan.com> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>