[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111102162331.GA31947@redhat.com>
Date: Wed, 2 Nov 2011 17:23:31 +0100
From: Oleg Nesterov <oleg@...hat.com>
To: Tejun Heo <tj@...nel.org>, "Rafael J. Wysocki" <rjw@...k.pl>
Cc: Jeff Layton <jlayton@...hat.com>, Steve French <sfrench@...ba.org>,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
linux-cifs@...r.kernel.org,
"J. Bruce Fields" <bfields@...ldses.org>,
Neil Brown <neilb@...e.de>, trond.myklebust@...app.com,
linux-nfs@...r.kernel.org
Subject: Re: [RFC PATCH] freezer: revert 27920651fe "PM / Freezer: Make
fake_signal_wake_up() wake TASK_KILLABLE tasks too"
Hi,
On 11/01, Tejun Heo wrote:
>
> For now, let's go with the count/dont_count. Can you please write up
> a patch for that? Jeff, does this seem okay to you?
OK, will do in a minute. On top of
"[PATCH pm] freezer: fix wait_event_freezable/__thaw_task races"
you sent. (btw, thanks, I forgout about it ;)
Rafael, could you remind why freezer_do_not_count/freezer_count check
->mm != NULL ?
The comment says "However, we don't want kernel threads to be frozen",
but it is not clear anyway. A kernel thread simply shouldn't use this
interface if it doesn't want to freeze.
And in any case, PF_KTHREAD looks better if we really need to filter
out the kernel threads.
Oleg.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists