From: Ed Tomlinson <edt@aei.ca>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Ingo Molnar <mingo@elte.hu>,
Andrew Morton <akpm@linux-foundation.org>,
Thomas Gleixner <tglx@linutronix.de>,
Christoph Hellwig <hch@infradead.org>,
john stultz <johnstul@us.ibm.com>,
Oleg Nesterov <oleg@tv-sign.ru>,
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
Dipankar Sarma <dipankar@in.ibm.com>,
"David S. Miller" <davem@davemloft.net>,
kuznet@ms2.inr.ac.ru
Subject: Re: [RFC PATCH 0/5 v2] Convert all tasklets to workqueues V2
Date: Sat, 23 Jun 2007 17:15:55 -0400 [thread overview]
Message-ID: <200706231715.56375.edt@aei.ca> (raw)
In-Reply-To: <20070622182051.859570787@goodmis.org>
Hi,
Applied this to 2.6.21-5 along with an older version of dyntick and cfs v18, durring boot I got:
[ 54.154077] hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb ffff81004ec55628 err -38
[ 54.154086] hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb ffff81004ec55628 err -38
[ 54.168147] BUG: at kernel/mutex.c:132 __mutex_lock_common()
[ 54.170801]
[ 54.170802] Call Trace:
[ 54.175975] [<ffffffff801790a0>] check_preempt_curr_fair+0x70/0x90
[ 54.178694] [<ffffffff8015b11f>] __mutex_lock_slowpath+0x6f/0x200
[ 54.181417] [<ffffffff8015b2c9>] mutex_lock+0x19/0x20
[ 54.184165] [<ffffffff80185c01>] flush_workqueue+0x31/0x50
[ 54.186975] [<ffffffff80190e75>] tasklet_disable+0x15/0x20
[ 54.189829] [<ffffffff8815289f>] :bluetooth:hci_cc_host_ctl+0x17f/0x240
[ 54.192767] [<ffffffff88153e4c>] :bluetooth:hci_event_packet+0x139c/0x1560
[ 54.195712] [<ffffffff88154d24>] :bluetooth:hci_send_to_sock+0x134/0x180
[ 54.198657] [<ffffffff8815073f>] :bluetooth:hci_rx_task+0x9f/0x270
[ 54.201588] [<ffffffff80190df0>] work_tasklet_exec+0x0/0x50
[ 54.204473] [<ffffffff80190e2c>] work_tasklet_exec+0x3c/0x50
[ 54.207282] [<ffffffff801488d4>] run_workqueue+0x94/0x130
[ 54.210032] [<ffffffff80145c59>] worker_thread+0x149/0x190
[ 54.212781] [<ffffffff80177430>] default_wake_function+0x0/0x10
[ 54.215539] [<ffffffff80145b10>] worker_thread+0x0/0x190
[ 54.218241] [<ffffffff801300f3>] kthread+0xd3/0x110
[ 54.220880] [<ffffffff801581c8>] child_rip+0xa/0x12
[ 54.223484] [<ffffffff80130020>] kthread+0x0/0x110
[ 54.226075] [<ffffffff801581be>] child_rip+0x0/0x12
Has this patch uncovered a problem in bluetooth or is it a problem with the patch?
TIA,
Ed Tomlinson
On Friday 22 June 2007 14:20, Steven Rostedt wrote:
> --
>
> This is version 2 of the tasklet to workqueue conversion.
>
> Changes from version 1.
>
> - removed config option and simply replace the old implementation
> with the work queue one (recommended by Ingo Molnar).
>
> - replaced clear_bit with test_and_clear_bit to avoid the race of
> executing the tasklet function twice. (thanks to Oleg Nesterov
> for pointing that out).
>
> - Removed most of the pr_debug prints. (Kept one)
> (recommended by Ingo Molnar)
>
> - Removed call to softirq_init.
>
> - Added Author credit to Dipankar Sarma for the RCU tasklet to
> softirq conversion.
>
> - Tested on my Powerbook to add another arch to the mix :-)
> Funny that booting with this change was the first time that
> the bcm43xx didn't get stuck for several seconds on bootup.
> It's also one of the few drivers that use tasklet_disable_nosync.
> So either this shows that the change fixed something, or that
> it broke something (or was just a fluke).
>
>
> -- Steve
>
> -
> 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/
>
>
prev parent reply other threads:[~2007-06-23 22:26 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-22 18:20 [RFC PATCH 0/5 v2] Convert all tasklets to workqueues V2 Steven Rostedt
2007-06-22 18:20 ` [RFC PATCH 1/5 v2] Convert the RCU tasklet into a softirq Steven Rostedt
2007-06-22 22:53 ` Paul E. McKenney
2007-06-22 18:20 ` [RFC PATCH 2/5 v2] Split out tasklets from softirq.c Steven Rostedt
2007-06-22 18:20 ` [RFC PATCH 3/5 v2] Add a tasklet is-scheduled API Steven Rostedt
2007-06-22 18:20 ` [RFC PATCH 4/5 v2] Make DRM use the tasklet is-sched API Steven Rostedt
2007-06-22 18:20 ` [RFC PATCH 5/5 v2] Convert tasklets to work queues Steven Rostedt
2007-06-23 16:53 ` Andrew Morton
2007-06-23 18:00 ` Steven Rostedt
2007-06-23 18:19 ` Linus Torvalds
2007-06-23 18:52 ` Randy Dunlap
2007-06-23 18:58 ` Andrew Morton
2007-06-23 19:18 ` Linus Torvalds
2007-07-08 0:49 ` Coding style on function signatures (was: Convert tasklets to work queues ) Jim Cromie
2007-07-08 4:37 ` Randy Dunlap
2007-07-08 6:02 ` Oleg Verych
2007-07-08 10:12 ` Jan Engelhardt
2007-06-23 19:27 ` [RFC PATCH 5/5 v2] Convert tasklets to work queues Steven Rostedt
2007-06-23 19:39 ` Andrew Morton
2007-06-23 22:09 ` Linus Torvalds
2007-06-28 6:57 ` Jeff Garzik
2007-06-23 17:17 ` Oleg Nesterov
2007-06-23 21:15 ` Ed Tomlinson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200706231715.56375.edt@aei.ca \
--to=edt@aei.ca \
--cc=akpm@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=dipankar@in.ibm.com \
--cc=hch@infradead.org \
--cc=johnstul@us.ibm.com \
--cc=kuznet@ms2.inr.ac.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=oleg@tv-sign.ru \
--cc=paulmck@linux.vnet.ibm.com \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox