summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorShaohua Li <shaohua.li@intel.com>2011-01-07 08:48:28 +0100
committerJens Axboe <jaxboe@fusionio.com>2011-01-07 08:48:28 +0100
commit329a67815b596d23daf0caa588ae0800e925320f (patch)
tree5fcf8a7c4a4d43b2cc7dc220d6bb25bdf27d153f /kernel
parent30d7b9448f03f2c82d0fd44738674cc156a8ce0a (diff)
downloadop-kernel-dev-329a67815b596d23daf0caa588ae0800e925320f.zip
op-kernel-dev-329a67815b596d23daf0caa588ae0800e925320f.tar.gz
block cfq: don't use atomic_t for cfq_group
cfq_group->ref is used with queue_lock hold, the only exception is cfq_set_request, which looks like a bug to me, 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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud