LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Oliver Neukum <oliver@neukum.org>
Cc: Nigel Cunningham <ncunningham@linuxmail.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Suspend2 merge preparation: Rationale behind the freezer changes.
Date: Fri, 21 May 2004 19:15:38 +0200 [thread overview]
Message-ID: <20040521171538.GI10052@elf.ucw.cz> (raw)
In-Reply-To: <200405211912.38354.oliver@neukum.org>
Hi!
> > > > > Kernel threads are different, and each must be handled separately,
> > > > > maybe even with some ordering. But there's relatively small number of
> > > > > kernel threads...
> > > >
> > > > Yes, but what order? I played with that problem for ages. Perhaps I just
> > > > didn't find the right combination.
> > >
> > > How about recording the order of creation and do it in opposite order?
> >
> > Order of creation is pretty much hidden in pid, but I do not think
> > that will work.
>
> Why? Build a list during kernel thread creation. It is not a hot code path.
Maybe the order in which kernel threads were created is not the same
as the order how they need to be frozen?
Pavel
--
934a471f20d6580d5aad759bf0d97ddc
next prev parent reply other threads:[~2004-05-21 17:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-17 6:49 Nigel Cunningham
2004-05-21 9:33 ` Pavel Machek
2004-05-21 12:28 ` Nigel Cunningham
2004-05-21 13:34 ` Pavel Machek
2004-05-22 2:43 ` Nigel Cunningham
2004-05-21 13:42 ` Oliver Neukum
2004-05-21 17:08 ` Pavel Machek
2004-05-21 17:12 ` Oliver Neukum
2004-05-21 17:15 ` Pavel Machek [this message]
2004-05-21 17:20 ` Oliver Neukum
2004-05-21 23:35 ` Herbert Xu
2004-05-22 2:47 ` Nigel Cunningham
2004-05-21 22:32 ` Nigel Cunningham
2004-05-22 14:11 ` Bill Davidsen
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=20040521171538.GI10052@elf.ucw.cz \
--to=pavel@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=ncunningham@linuxmail.org \
--cc=oliver@neukum.org \
--subject='Re: Suspend2 merge preparation: Rationale behind the freezer changes.' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).