> > I fear, that your efforts to "save" the freezer are in vain. It is
> > already moderately hackish with that PF_FREEZER_SKIP and the kernel
> > dotted randomly with try_to_freeze() calls, but adding bandaids to try
> > to order freezing userspace processes in the right order would just
> > make it a horrible mess.
>
> I agree that bandaids won't work. What's needed is something more
> radical. Things like FUSE must be written so that the kernel parts
> _can_ freeze even while they are waiting for a response from a user
> thread.
This has already been discussed, with the conclusion, that it can't be
done without hacking VFS internals.
The basic problem is that the freezer tries to get every user process
out of the kernel even when those processes have _nothing_ to do with
drivers and could happily stay in kernel land across a suspend or even
hibernate.
If we could have a good grip on when a request is entering a driver,
it would be easy to take care of this. I guess network and block
devices are easy. For others there's no obvious common place where
such barriers could be placed so it's more work, but nothing
conceptually problematic. Is this about right?
Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]