Hi!
> > Whatever you guys decide to do (I actually do sys_sync() before freezing
> > on pmac and yes, it takes sometimes way too long), to be uber-safe, we
> > could/should _also_ do sync after freezing userland processes and before
> > freezing kernel threads (that is, splitting here). In fact, that would
> > help also avoid deadlocks where a frozen kernel thread is holding a
> > semaphore preventing a process from freezing.
> >
> > That way, if we sys_sync() once processes are sleeping and before kernel
> > threads are, we pretty-much make sure no new dirty buffer will appear.
> >
> > Anyway, that's mostly food for thoughts at this point
>
> I fully agree, and that's what I'm already doing. Nothing I can do about
> Pavel not seeing logic, so guess I just have to hope everyone else does
> :)
I think I see your logic, and it is wrong. Anyway, just do not touch
fork/exit hot paths.
Pavel
-
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]