From: Shaohua Li Date: Fri, 7 Jan 2011 07:48:28 +0000 (+0100) Subject: block cfq: don't use atomic_t for cfq_group X-Git-Tag: v2.6.38-rc1~231^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=329a67815b596d23daf0caa588ae0800e925320f;p=pandora-kernel.git 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 Reviewed-by: Jeff Moyer Acked-by: Vivek Goyal Signed-off-by: Jens Axboe --- Reading git-diff-tree failed