public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: pcmcia oops (with ksymoops output this time)
       [not found] <m2henircqz.fsf@trasno.mitica>
@ 2002-03-14 22:51 ` Jeff Garzik
  0 siblings, 0 replies; only message in thread
From: Jeff Garzik @ 2002-03-14 22:51 UTC (permalink / raw)
  To: Juan Quintela; +Cc: Richard Gooch, Andrew Morton, kernel, linux-kernel, dhinds

With oops tracing in IRC, we narrowed the problem in 2.4.x down to, 
serial_cs and ide_cs drivers, and other 16-bit pcmcia drivers possibly, 
call their release functions from a timer when ejected.  The 
per-subsystem release functions then proceed to do all manner of 
in-process-context type work, including calling devfs_unregister, whose 
call path can eventually cause a schedule()

Suggested fix, call schedule_task() in each timer-based release 
function, to queue a task in process context to do the actual work. 
 This is how 32-bit cardbus gets such things done...

    Jeff






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-03-14 22:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <m2henircqz.fsf@trasno.mitica>
2002-03-14 22:51 ` pcmcia oops (with ksymoops output this time) Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox