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:
6456591
)
cfq-iosched: fix RCU problem in cfq_cic_lookup()
author
Jens Axboe
<jens.axboe@oracle.com>
Wed, 28 May 2008 12:46:59 +0000
(14:46 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 28 May 2008 12:49:28 +0000
(14:49 +0200)
cfq_cic_lookup() needs to properly protect ioc->ioc_data before
dereferencing it and also exclude updaters of ioc->ioc_data as well.
Also add a number of comments documenting why the existing RCU usage
is OK.
Thanks a lot to "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> for
review and comments!
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
No differences found