#8301 BLOC 8.2.0 (: Fast suspend/resume cycle causes a libertas crash
Zarro Boogs per Child
bugtracker at laptop.org
Mon Sep 8 01:21:37 EDT 2008
#8301: Fast suspend/resume cycle causes a libertas crash
------------------------+---------------------------------------------------
Reporter: cjb | Owner: dsaxena
Type: defect | Status: new
Priority: blocker | Milestone: 8.2.0 (was Update.2)
Component: kernel | Version: not specified
Resolution: | Keywords: blocks-:8.2.0 cjbfor8.2 relnote
Next_action: diagnose | Verified: 0
Blockedby: | Blocking:
------------------------+---------------------------------------------------
Comment(by cjb):
I tried adding a flush_workqueue() before the destroy_workqueue(), with
the result that we hung in the flush_workqueue() instead -- then I noticed
that destroy_ calls the same internal function as flush_. So, I think
it's safe to say that we're hanging in flush_cpu_workqueue(), and the
reason is that we're successfully clearing scheduled tasks from the
runqueue, but we're not successfully clearing the active thread, and we're
instead blocking on it to return, which it never does.
I don't know enough about the workqueue API yet to know what the right way
for a kernel thread to know when to tear itself down immediately is.
--
Ticket URL: <http://dev.laptop.org/ticket/8301#comment:33>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list