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:
b7908c1
)
block cfq: don't use atomic_t for cfq_queue
author
Shaohua Li
<shaohua.li@intel.com>
Fri, 7 Jan 2011 07:46:59 +0000
(08:46 +0100)
committer
Jens Axboe
<jaxboe@fusionio.com>
Fri, 7 Jan 2011 07:46:59 +0000
(08:46 +0100)
cfq_queue->ref is used with queue_lock hold, so ref doesn't need to be an atomic
and atomic operation is slower.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
No differences found