Re: [linux-pm] Re: Hibernation considerations



Hi!

The problem with FUSE is related to the fact that the freezer can't
freeze uninterruptible tasks and we said that perhaps we might avoid
it if FUSE was made freezing-aware. Still, no one has gone in this
direction and I don't know of any plans to do that.

I thought we have fully explored this direction. Lots of emails, and
an IRC session with Pavel. Conclusion:

What am I missing in the following suggested solution?

1) In the freezer code, we implement a new TIF_LATEFREEZE process flag, which,
when set, causes a userspace process to be frozen with kernel threads
instead of with userspace ones. When freezing, we freezing !TIF_LATEFREEZE,
sync and then freeze TIF_LATEFREEZE and freezable kernel threads.

2) In the fuse code, the PID of the process that will do the work gets passed

The list of neccessary PIDs is not known to the kernel. FUSE servers
may depend on another parts of userland.



--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/



Relevant Pages

  • Re: [linux-pm] Re: Hibernation considerations
    ... When freezing, we freezing!TIF_LATEFREEZE, ... sync and then freeze TIF_LATEFREEZE and freezable kernel threads. ... In the fuse code, the PID of the process that will do the work gets passed ...
    (Linux-Kernel)
  • Re: Back to the future.
    ... freezing kernel threads: at least you get deadlocks, ... they can be involved in that whole disk submission ... The way to shut them up is not to freeze the threads, ...
    (Linux-Kernel)
  • Re: [RFD] Freezing of kernel threads
    ... Having considered the issue of freezing kernel threads for a ... kernel threads as we currently freeze, but there's one thing that he doesn't ... we can use a list of freezable kernel threads. ...
    (Linux-Kernel)
  • Re: [RFD] Freezing of kernel threads
    ... kernel threads as we currently freeze, but there's one thing that he doesn't ... For the suspend they may be kernel threads that otherwise would need some ... all kernel threads to take part in the freezing mechanism, ... I'm afraid that if we default to "do not freeze by default", ...
    (Linux-Kernel)
  • Re: Chemistry Question: Thawing Frozen Milk
    ... the fat is not dissolved in the milk. ... Dissolving compounds in a liquid lowers its freezing point, but as I remember, adding non-dissolved solids in suspension does ... They freeze evenly. ... Make your own ice cream and see the physical and chemical process in action... ...
    (rec.food.cooking)