From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754894AbaCCQe2 (ORCPT ); Mon, 3 Mar 2014 11:34:28 -0500 Received: from mail-pa0-f50.google.com ([209.85.220.50]:36099 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754379AbaCCQe0 (ORCPT ); Mon, 3 Mar 2014 11:34:26 -0500 Message-ID: <5314AF0E.3040703@kernel.dk> Date: Mon, 03 Mar 2014 09:34:22 -0700 From: Jens Axboe User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Mike Galbraith CC: LKML , RT Subject: Re: [patch] rt,blk,mq: Make blk_mq_cpu_notify_lock a raw spinlock References: <1393822646.5816.4.camel@marge.simpson.net> In-Reply-To: <1393822646.5816.4.camel@marge.simpson.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/02/2014 09:57 PM, Mike Galbraith wrote: > > [ 365.164040] BUG: sleeping function called from invalid context at kernel/rtmutex.c:674 > [ 365.164041] in_atomic(): 1, irqs_disabled(): 1, pid: 26, name: migration/1 > [ 365.164043] no locks held by migration/1/26. > [ 365.164044] irq event stamp: 6648 > [ 365.164056] hardirqs last enabled at (6647): [] restore_args+0x0/0x30 > [ 365.164062] hardirqs last disabled at (6648): [] multi_cpu_stop+0x9d/0x120 > [ 365.164070] softirqs last enabled at (0): [] copy_process.part.28+0x6fc/0x1920 > [ 365.164072] softirqs last disabled at (0): [< (null)>] (null) > [ 365.164076] CPU: 1 PID: 26 Comm: migration/1 Tainted: GF N 3.12.12-rt19-0.gcb6c4a2-rt #3 > [ 365.164078] Hardware name: QCI QSSC-S4R/QSSC-S4R, BIOS QSSC-S4R.QCI.01.00.S013.032920111005 03/29/2011 > [ 365.164091] 0000000000000001 ffff880a42ea7c30 ffffffff815367e6 ffffffff81a086c0 > [ 365.164099] ffff880a42ea7c40 ffffffff8108919c ffff880a42ea7c60 ffffffff8153c24f > [ 365.164107] ffff880a42ea91f0 00000000ffffffe1 ffff880a42ea7c88 ffffffff81297ec0 > [ 365.164108] Call Trace: > [ 365.164119] [] try_stack_unwind+0x191/0x1a0 > [ 365.164127] [] dump_trace+0x92/0x360 > [ 365.164133] [] show_trace_log_lvl+0x48/0x60 > [ 365.164138] [] show_stack_log_lvl+0xd8/0x1d0 > [ 365.164143] [] show_stack+0x20/0x50 > [ 365.164153] [] dump_stack+0x54/0x9a > [ 365.164163] [] __might_sleep+0xfc/0x140 > [ 365.164173] [] rt_spin_lock+0x1f/0x70 > [ 365.164182] [] blk_mq_main_cpu_notify+0x20/0x70 > [ 365.164191] [] notifier_call_chain+0x4c/0x70 > [ 365.164201] [] __raw_notifier_call_chain+0x9/0x10 > [ 365.164207] [] cpu_notify+0x1e/0x40 > [ 365.164217] [] take_cpu_down+0x22/0x40 > [ 365.164223] [] multi_cpu_stop+0xd6/0x120 > [ 365.164229] [] cpu_stopper_thread+0xd7/0x1e0 > [ 365.164235] [] smpboot_thread_fn+0x203/0x380 > [ 365.164241] [] kthread+0xc8/0xd0 > [ 365.164250] [] ret_from_fork+0x7c/0xb0 > [ 365.164429] smpboot: CPU 1 is now offline > > Signed-off-by: Mike Galbraith Dirty! Applied, thanks :) -- Jens Axboe