lkml.org 
[lkml]   [2005]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Freezer Patches.
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-02 23:58    [W:0.037 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site