Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review

From: Linus Torvalds
Date: Thu May 24 2007 - 18:55:10 EST




On Fri, 25 May 2007, Pavel Machek wrote:
> >
> > Why the HELL cannot you realize that kernel threads are different?
>
> Ugh? We are talking about request_firmware() here, right? That's
> calling userland helper to load the firmware...? Looks like USER
> thread to me.

Right. And if we had had the nice old /sbin/hotplug thing, it would all
have worked fine - because it would just have done an execve(), and things
would be happy.

But people screwed that up too, and now udevd is an undebuggable user
thread. Shit happens. See my other email about why even user threads can
probably not be frozen, and the whole freezer thing is misdesigned.

And I repeat: PowerPC had working and stable suspend five _years_ ago,
without any of that freezing crud. We should rip it out.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/