Paul Mackerras wrote:
>
> So, is this devfs's fault for not allowing devfs_unregister to be
> called from interrupt context, or is it ide-cs's fault for calling
> ide_unregister from interrupt context?
>
ide-cs, I'd say.
The way hotplug generally avoids this problem is via schedule_task() - that
was why it was written in the first place, I think.
And given that we need to bump the event up to process context, we may
as well do it at the earliest stage. Looks like the fix it to kill
off the timer altogether, replace it with a tqueue and ask keventd
to run ide_release.
-
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/
This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:20 EST