On Sat, 28 Apr 2007, Rafael J. Wysocki wrote:That makes no sense. You have to create the snapshot image with interrupts disabled *anyway*. I really don't see how you can say that stopping threads etc can make any difference what-so-ever. If you don't create the snapshot with interrupts disabled (and just with a single CPU running) you have so many other problems that it's not even remotely funny. So there's *by*definition* nothing at all that can happen while you snapshot the system. Claiming otherwise is just silly. Like getting rid of all the magic "I don't want you to freeze me" crud? Or getting rid of this horribly idiotic "three times widdershins" kind of black magic mentality! It looks like the main reason for the process freezing has nothing to do with technology, but some irrational fear of other things happening at the same time, even though they CANNOT happen if you do things even half-way sanely. The "let's stop all kernel threads" is superstition. It's the same kind of superstition that made people write "sync" three times before turning off the power in the olden times. It's the kind of superstition that comes from "we don't do things right, so let's be vewy vewy quiet and _pray_ that it works when we are beign quiet". That's bad. It's doubly bad, because that idiocy has also infected s2ram. Again, another thing that really makes no sense at all - and we do it not just for snapshotting, but for s2ram too. Can you tell me *why*? Like you wouldn't know. Look at commit b43376927a that you yourself are credited with, just a month ago. Then, do something as simple as git grep create_freezeable_workthread and ponder the end results of that grep. If you don't see something wrong, you're blind. Who do you think you are kidding? See above. And if you think that's an isolated example, look again. And start grepping for PF_NOFREEZE, and other examples. The fact is, there is not a *single* reason to freeze kernel threads. But some rocket scientist decided to, and then screwed everybody else over. Linus -
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Zhang, Yanmin | AIM7 40% regression with 2.6.26-rc1 |
| Andrew Morton | -mm merge plans for 2.6.23 |
| Linus Torvalds | Linux 2.6.27-rc5 |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Arjan van de Ven | Re: [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
