Re: [PATCH v3] cgroup: Disable IRQs while holding css_set_lock
From: Zefan Li <hidden>
Date: 2016-06-23 01:05:38
Also in:
cgroups, lkml
From: Zefan Li <hidden>
Date: 2016-06-23 01:05:38
Also in:
cgroups, lkml
On 2016/6/23 4:28, Daniel Bristot de Oliveira wrote:
While testing the deadline scheduler + cgroup setup I hit this warning.
...
The warn is the spin_(lock|unlock)_bh(&css_set_lock) in the interrupt context. Converting the spin_lock_bh to spin_lock_irq(save) to avoid this problem - and other problems of sharing a spinlock with an interrupt. Cc: Tejun Heo <tj@kernel.org> Cc: Li Zefan <redacted> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Juri Lelli <redacted> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: cgroups@vger.kernel.org Cc: stable@vger.kernel.org # 4.5+ Cc: linux-kernel@vger.kernel.org Reviewed-by: Rik van Riel <redacted> Reviewed-by: "Luis Claudio R. Goncalves" <redacted> Signed-off-by: Daniel Bristot de Oliveira <redacted>
Acked-by: Zefan Li <redacted>