Re: [PATCH v3] cgroup: Disable IRQs while holding css_set_lock

Zefan Li
2016-06-23T01:05:38Z

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 <lizefan@huawei.com>
> Cc: Johannes Weiner <hannes@cmpxchg.org>
> Cc: Juri Lelli <juri.lelli@arm.com>
> 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 <riel@redhat.com>
> Reviewed-by: "Luis Claudio R. Goncalves" <lgoncalv@redhat.com>
> Signed-off-by: Daniel Bristot de Oliveira <bristot@redhat.com>
>

Acked-by: Zefan Li <lizefan@huawei.com>