From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH v3] cgroup: Disable IRQs while holding css_set_lock To: Daniel Bristot de Oliveira , Tejun Heo References: <1466627321-22137-1-git-send-email-bristot@redhat.com> CC: Rik van Riel , "Luis Claudio R. Goncalves" , , Johannes Weiner , Juri Lelli , Steven Rostedt , , From: Zefan Li Message-ID: <576B35C3.8070109@huawei.com> Date: Thu, 23 Jun 2016 09:05:07 +0800 MIME-Version: 1.0 In-Reply-To: <1466627321-22137-1-git-send-email-bristot@redhat.com> Content-Type: text/plain; charset="gbk" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: 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 > Cc: Li Zefan > Cc: Johannes Weiner > Cc: Juri Lelli > Cc: Steven Rostedt > Cc: cgroups@vger.kernel.org > Cc: stable@vger.kernel.org # 4.5+ > Cc: linux-kernel@vger.kernel.org > Reviewed-by: Rik van Riel > Reviewed-by: "Luis Claudio R. Goncalves" > Signed-off-by: Daniel Bristot de Oliveira > Acked-by: Zefan Li