From: Johannes Berg <johannes@sipsolutions.net>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Linux-pm mailing list <linux-pm@lists.linux-foundation.org>
Subject: Re: [RFC] Add the "icebox"
Date: Wed, 07 Nov 2007 09:58:40 +0100 [thread overview]
Message-ID: <1194425920.4055.1.camel@johannes.berg> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0711051611190.2800-100000@iolanthe.rowland.org>
[-- Attachment #1.1: Type: text/plain, Size: 512 bytes --]
> This patch adds the icebox, for use by kernel threads that want to
> freeze themselves without using the freezer -- which is likely to crop
> up when the freezer gets eliminated.
There obviously isn't a way to wait for all tasks that want to enter the
icebox since there's no task flag for this, will tasks need to add extra
locking? Or otherwise how do we make sure that a task hasn't *just* gone
past icebox() and starts executing the code that the icebox() is
supposed to prevent?
johannes
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2007-11-07 8:58 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-05 21:27 [RFC] Add the "icebox" Alan Stern
2007-11-05 22:11 ` Rafael J. Wysocki
2007-11-06 15:08 ` Alan Stern
2007-11-07 17:16 ` Alan Stern
2007-11-07 22:31 ` Rafael J. Wysocki
2007-11-07 22:28 ` Alan Stern
2007-11-07 23:32 ` Rafael J. Wysocki
2007-11-07 8:58 ` Johannes Berg [this message]
2007-11-07 15:47 ` Alan Stern
2007-11-07 15:54 ` Johannes Berg
2007-11-07 16:47 ` Alan Stern
2007-11-07 16:53 ` Johannes Berg
2007-11-07 19:49 ` Mark Gross
2007-11-07 20:02 ` Alan Stern
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=1194425920.4055.1.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=linux-pm@lists.linux-foundation.org \
--cc=stern@rowland.harvard.edu \
/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