commit | 30d7b9448f03f2c82d0fd44738674cc156a8ce0a | [log] [tgz] |
---|---|---|
author | Shaohua Li <shaohua.li@intel.com> | Fri Jan 07 08:46:59 2011 +0100 |
committer | Jens Axboe <jaxboe@fusionio.com> | Fri Jan 07 08:46:59 2011 +0100 |
tree | f925a59dfe6a7b2da5240e9d43d873de7b1de273 | |
parent | b7908c1035af7652cd613991b54dbff9c8b6bd3a [diff] |
block cfq: don't use atomic_t for cfq_queue 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>