Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965031AbWHHSqn (ORCPT ); Tue, 8 Aug 2006 14:46:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965032AbWHHSqn (ORCPT ); Tue, 8 Aug 2006 14:46:43 -0400 Received: from nf-out-0910.google.com ([64.233.182.186]:43561 "EHLO nf-out-0910.google.com") by vger.kernel.org with ESMTP id S965031AbWHHSqm (ORCPT ); Tue, 8 Aug 2006 14:46:42 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fJU6+dMiwjl6W3uNkqv41E5bQUcN4luPpQN1OhOnLTUxrv2IKYQk6TGZpm8RxK35f0hYVr6x1FInHZjXj8ZIKs6Z7K8/C86MnYtxMp9yx8dRDrhtcuJrHW9YnDmd8g/SvRmoJyMqxdPi/w7iM/iFokQbd+z/JVE56Bh7MVdddus= Message-ID: Date: Tue, 8 Aug 2006 11:46:40 -0700 From: "Robert Crocombe" To: "hui Bill Huey" Subject: Re: [Patch] restore the RCU callback to defer put_task_struct() Re: Problems with 2.6.17-rt8 Cc: "Steven Rostedt" , linux-kernel@vger.kernel.org, "Ingo Molnar" , "Thomas Gleixner" , "Darren Hart" In-Reply-To: <20060808030524.GA20530@gnuppy.monkey.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1154541079.25723.8.camel@localhost.localdomain> <1154615261.32264.6.camel@localhost.localdomain> <20060808025615.GA20364@gnuppy.monkey.org> <20060808030524.GA20530@gnuppy.monkey.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 8661 Lines: 203 On 8/7/06, hui Bill Huey wrote: > > I tested it with a "make -j4" which triggers the warning and it they all > > go away now. > > > > Reverse patch attached: Unfortunately, this makes no difference on my setup. Patch applied, made the obvious little change: -#include +#include But: kjournald/1119[CPU#1]: BUG in debug_rt_mutex_unlock at kernel/rtmutex-debug.c:471 Call Trace: {_raw_spin_lock_irqsave+34} {__WARN_ON+105} {__WARN_ON+36} {debug_rt_mutex_unlock+204} {rt_lock_slowunlock+30} {__lock_text_start+14} {kmem_cache_alloc+207} {mempool_alloc_slab+22} {mempool_alloc+80} {mcount+45} {bio_alloc_bioset+40} {bio_clone+34} {make_request+1360} {rt_lock_slowunlock+70} {generic_make_request+380} {submit_bio+197} {submit_bh+267} {ll_rw_block+166} {journal_commit_transaction+1016} {thread_return+230} {thread_return+230} {constant_test_bit+9} {_raw_spin_unlock+51} {rt_lock_slowunlock+70} {thread_return+230} {__lock_text_start+14} {try_to_del_timer_sync+90} {thread_return+230} {kjournald+207} {autoremove_wake_function+0} {kjournald+0} {keventd_create_kthread+0} {kthread+224} {schedule_tail+210} {child_rip+8} {keventd_create_kthread+0} {thread_return+230} {thread_return+230} {thread_return+230} {kthread+0} {child_rip+0} --------------------------- | preempt count: 00000002 ] | 2-level deep critical section nesting: ---------------------------------------- .. [] .... _raw_spin_lock+0x1b/0x28 .....[] .. ( <= rt_lock_slowunlock+0x16/0x70) .. [] .... _raw_spin_lock_irqsave+0x22/0x33 .....[] .. ( <= __WARN_ON+0x24/0x8a) kjournald/1119[CPU#1]: BUG in debug_rt_mutex_unlock at kernel/rtmutex-debug.c:472 Call Trace: {_raw_spin_lock_irqsave+34} {__WARN_ON+105} {__WARN_ON+36} {debug_rt_mutex_unlock+366} {rt_lock_slowunlock+30} {__lock_text_start+14} {kmem_cache_alloc+207} {mempool_alloc_slab+22} {mempool_alloc+80} {mcount+45} {bio_alloc_bioset+40} {bio_clone+34} {make_request+1360} {rt_lock_slowunlock+70} {generic_make_request+380} {submit_bio+197} {submit_bh+267} {ll_rw_block+166} {journal_commit_transaction+1016} {thread_return+230} {thread_return+230} {constant_test_bit+9} {_raw_spin_unlock+51} {rt_lock_slowunlock+70} {thread_return+230} {__lock_text_start+14} {try_to_del_timer_sync+90} {thread_return+230} {kjournald+207} {autoremove_wake_function+0} {kjournald+0} {keventd_create_kthread+0} {kthread+224} {schedule_tail+210} {child_rip+8} {keventd_create_kthread+0} {thread_return+230} {thread_return+230} {thread_return+230} {kthread+0} {child_rip+0} --------------------------- | preempt count: 00000002 ] | 2-level deep critical section nesting: ---------------------------------------- .. [] .... _raw_spin_lock+0x1b/0x28 .....[] .. ( <= rt_lock_slowunlock+0x16/0x70) .. [] .... _raw_spin_lock_irqsave+0x22/0x33 .....[] .. ( <= __WARN_ON+0x24/0x8a) ----------- [cut here ] --------- [please bite here ] --------- Kernel BUG at kernel/rtmutex.c:639 invalid opcode: 0000 [1] PREEMPT SMP CPU 1 Modules linked in: nfsd exportfs lockd sunrpc ohci1394 ieee1394 tg3 Pid: 1119, comm: kjournald Not tainted 2.6.17-rt8_local_02 #8 RIP: 0010:[] {rt_lock_slowlock+186} RSP: 0018:ffff8105ea93b9e8 EFLAGS: 00010246 RAX: ffff810200220db0 RBX: 0000000000000010 RCX: 00000000000c0080 RDX: ffff810200220db0 RSI: ffffffff802793b2 RDI: ffff810200115ca0 RBP: ffff8105ea93baa8 R08: ffff8100011e5650 R09: ffff8105ea93b9e8 R10: ffff8100011e5650 R11: 0000000000000023 R12: ffff810200115ca0 R13: ffff810200031c40 R14: ffffffff802793b2 R15: 0000000000000010 FS: 00002b055e056480(0000) GS:ffff8102001e3340(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b CR2: 00000000005b755c CR3: 00000005e6e0b000 CR4: 00000000000006e0 Process kjournald (pid: 1119, threadinfo ffff8105ea93a000, task ffff810200220db0) Stack: 111111110000008c ffff8105ea93b9f0 ffff8105ea93b9f0 ffff8105ea93ba00 ffff8105ea93ba00 0000000000000000 111111110000008c ffff8105ea93ba20 ffff8105ea93ba20 ffff8105ea93ba30 Call Trace: {rt_lock+18} {kmem_cache_alloc+84} {mempool_alloc_slab+22} {mempool_alloc+80} {bio_alloc_bioset+151} {bio_clone+34} {make_request+1360} {rt_lock_slowunlock+70} {generic_make_request+380} {submit_bio+197} {submit_bh+267} {ll_rw_block+166} {journal_commit_transaction+1016} {thread_return+230} {thread_return+230} {constant_test_bit+9} {_raw_spin_unlock+51} {rt_lock_slowunlock+70} {thread_return+230} {__lock_text_start+14} {try_to_del_timer_sync+90} {thread_return+230} {kjournald+207} {autoremove_wake_function+0} {kjournald+0} {keventd_create_kthread+0} {kthread+224} {schedule_tail+210} {child_rip+8} {keventd_create_kthread+0} {thread_return+230} {thread_return+230} {thread_return+230} {kthread+0} {child_rip+0} --------------------------- | preempt count: 00000002 ] | 2-level deep critical section nesting: ---------------------------------------- .. [] .... _raw_spin_lock+0x1b/0x28 .....[] .. ( <= rt_lock_slowlock+0x3b/0x213) .. [] .... _raw_spin_trylock+0x1b/0x5f .....[] .. ( <= oops_begin+0x28/0x77) Code: 0f 0b 68 70 44 4c 80 c2 7f 02 65 48 8b 04 25 00 00 00 00 41 RIP {rt_lock_slowlock+186} RSP Triggered by building a kernel. -- Robert Crocombe rcrocomb@gmail.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/