git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fe2347
)
[PATCH] blk_queue_start_tag() shared map race fix
author
Jens Axboe
<axboe@kernel.dk>
Thu, 21 Sep 2006 18:37:22 +0000
(20:37 +0200)
committer
Jens Axboe
<axboe@nelson.home.kernel.dk>
Sat, 30 Sep 2006 18:52:34 +0000
(20:52 +0200)
If we share the tag map between two or more queues, then we cannot
use __set_bit() to set the bit. In fact we need to make sure we
atomically acquire this tag, so loop using test_and_set_bit() to
protect from that.
Noticed by Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
No differences found