On Fri, 30 Dec 2005, Dmitry Torokhov wrote: > > In that case, I would say that it is appropriate to use keventd or some > > other worker thread to handle device removal detected during resume. > > Since these threads will be frozen along with everything else, the > > unregister calls wouldn't be made until the system was once again awake. > > > > Input (well, actually serio) devices are already handled via kseriod thread, > but that's because it was already there. I was saying that driver core should > not require a reaper thread if there isn't one yet. The driver core doesn't make this requirement. If you don't want to reap those devices during resume then you don't need the thread. And after all, if you don't reap the devices at other times then why bother reaping them during resume? Alan Stern