Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1429375

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

From Zefan Li <lizefan@huawei.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3] cgroup: Disable IRQs while holding css_set_lock
Date 2016-06-23 03:10 +0200
Message-ID <rN1jz-2IL-1@gated-at.bofh.it> (permalink)
References <rMWWC-8bt-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v3] cgroup: Disable IRQs while holding css_set_lock Daniel Bristot de Oliveira <bristot@redhat.com> - 2016-06-22 22:30 +0200
  Re: [PATCH v3] cgroup: Disable IRQs while holding css_set_lock Zefan Li <lizefan@huawei.com> - 2016-06-23 03:10 +0200

csiph-web