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