On Fri, 25 May 2007, Pavel Machek wrote:No they won't. Why the HELL cannot you realize that kernel threads are different? The right thing to do is AND HAS ALWAYS BEEN, to stop and start user threads only around the whole thing. Don't touch those kernel threads. Stop freezing them. Then, what you do is: - stop user space - suspend - resume - start user space and at no point do you touch any kernel threads. And yes, that "resume" part is multi-phase. We already have "resume_early()" to do bus-level setup, and then "resume()" to do the "make devices work". I was suggesting adding a "resume_late()" phase to let the devices do things that require other devices to work, like doing firmware loading. But stopping kernel threads is STUPID. As long as we continue to do that, it will never _ever_ work. Yeah, we could re-start the kernel thread before "resume_late()", but the fact is, they shouldn't have been stopped in the first place. Linus -
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Linus Torvalds | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Andrew Morton | 2.6.25-mm1 |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| David Miller | [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| Natalie Protasevich | [BUG] New Kernel Bugs |
