]> git.baikalelectronics.ru Git - kernel.git/commit
Update of blkg_stat and blkg_rwstat may happen in bh context.
authorHong Zhiguo <zhiguohong@tencent.com>
Wed, 20 Nov 2013 17:35:05 +0000 (10:35 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 20 Nov 2013 22:33:04 +0000 (15:33 -0700)
commita5f2be2a3887e0c8ba7ea7b795720a4cff0a2e2a
tree4ab6ccbdf75b96229f176fc54e01580954e7a633
parentc5285eae746e2dba8381a5ea32002f78de1806ac
Update of blkg_stat and blkg_rwstat may happen in bh context.
While u64_stats_fetch_retry is only preempt_disable on 32bit
UP system. This is not enough to avoid preemption by bh and
may read strange 64 bit value.

Signed-off-by: Hong Zhiguo <zhiguohong@tencent.com>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: stable@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.h