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

From: Linus Torvalds
Date: Thu May 24 2007 - 18:26:13 EST




On Thu, 24 May 2007, Linus Torvalds wrote:
>
> Then, what you do is:
> - stop user space
> - suspend
> - resume
> - start user space

Btw, this is where things like "udevd" can be really problematic. That
whole "uevent over netlink" stuff is really nasty for things like this.

It's quite possible that even for user-level threads, we simply MUST NOT
freeze them the way we do. Exactly because of deadlocks.

I'm personally really really convinced that the whole freezer thing is a
total disaster. I don't know how anybody can even imagine anything else.
It's simply deadlock city.

We should freeze IO, not processes.

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/