From: Pavel Machek <pavel@ucw.cz>
To: Nigel Cunningham <ncunningham@cyclades.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Freezer Patches.
Date: Thu, 2 Jun 2005 23:47:14 +0200 [thread overview]
Message-ID: <20050602214714.GB1980@elf.ucw.cz> (raw)
In-Reply-To: <1117700339.10888.141.camel@localhost>
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
prev parent reply other threads:[~2005-06-02 21:52 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-01 12:33 Nigel Cunningham
2005-06-01 13:02 ` Pavel Machek
2005-06-01 22:02 ` Benjamin Herrenschmidt
2005-06-01 22:13 ` Nigel Cunningham
2005-06-01 22:23 ` Benjamin Herrenschmidt
2005-06-01 22:08 ` Nigel Cunningham
2005-06-01 22:31 ` Pavel Machek
2005-06-01 22:45 ` Benjamin Herrenschmidt
2005-06-01 23:02 ` Pavel Machek
2005-06-02 0:35 ` Benjamin Herrenschmidt
2005-06-02 1:46 ` Nigel Cunningham
2005-06-02 1:49 ` Benjamin Herrenschmidt
2005-06-02 1:45 ` Nigel Cunningham
2005-06-02 1:48 ` Benjamin Herrenschmidt
2005-06-02 7:14 ` Pavel Machek
2005-06-02 7:26 ` Nigel Cunningham
2005-06-02 7:31 ` Pavel Machek
2005-06-02 7:36 ` Benjamin Herrenschmidt
2005-06-02 8:18 ` Nigel Cunningham
2005-06-02 21:47 ` Pavel Machek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050602214714.GB1980@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ncunningham@cyclades.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®