Re: Freezer Patches.
From: Nigel Cunningham
Date: Thu Jun 02 2005 - 03:22:59 EST
Hi Ben.
On Thu, 2005-06-02 at 17:36, Benjamin Herrenschmidt wrote:
> 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
:)
Regards,
Nigel
-
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/