summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-05-23 12:16:21 +0200
committerJens Axboe <axboe@kernel.dk>2012-05-23 12:16:21 +0200
commitff26eaadf4d914e397872b99885d45756104e9ae (patch)
tree5020f3e4a14ab68f6d027366e719b7fb5193123c /init
parent0b7877d4eea3f93e3dd941999522bbd8c538cb53 (diff)
downloadlinux-3.10-ff26eaadf4d914e397872b99885d45756104e9ae.tar.gz
linux-3.10-ff26eaadf4d914e397872b99885d45756104e9ae.tar.bz2
linux-3.10-ff26eaadf4d914e397872b99885d45756104e9ae.zip
blkcg: tg_stats_alloc_lock is an irq lock
tg_stats_alloc_lock nests inside queue lock and should always be held with irq disabled. throtl_pd_{init|exit}() were using non-irqsafe spinlock ops which triggered inverse lock ordering via irq warning via RCU freeing of blkg invoking throtl_pd_exit() w/o disabling IRQ. Update both functions to use irq safe operations. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Sasha Levin <sasha.levin@oracle.com> LKML-Reference: <1335339396.16988.80.camel@lappy> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions