mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: yalin wang <yalin.wang2010@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	laijs@cn.fujitsu.com, nacc@linux.vnet.ibm.com,
	penguin-kernel@i-love.sakura.ne.jp,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Fwd: [RFC] make kthread_worker_fn to be freezable
Date: Mon, 1 Jun 2015 07:40:19 -0400	[thread overview]
Message-ID: <20150601114019.GA14841@htj.duckdns.org> (raw)
In-Reply-To: <CAFP4FLoYPgexB98gTjiod9WO8P2r-Kz8wNw12sJfUKO1u8r+Pw@mail.gmail.com>

Hello,

On Mon, Jun 01, 2015 at 06:05:58PM +0800, yalin wang wrote:
> I notice that kthread_worker_fn() call try_to_freeze() function,
> but it don't make itself to be a freezable kthread,
> kthread default behavior is not freezable, we should change it if
> want try_to_freeze() work correctly.
> 
> Signed-off-by: yalin wang <yalin.wang2010@gmail.com>

Whether a kthread worker should be able to freeze or not is to be
determined by the owner of the specific kthread.  If the kthread is
marked freezable, kthread_worker will freeze.  If not, it won't.

 Nacked-by: Tejun Heo <tj@kernel.org>

Thanks.

-- 
tejun

  reply	other threads:[~2015-06-01 11:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <64da06e6.12ce6.14dae8b205f.Coremail.cn_wyl2003@126.com>
2015-06-01 10:05 ` yalin wang
2015-06-01 11:40   ` Tejun Heo [this message]
2015-06-02  3:13     ` yalin wang
2015-06-03  5:20       ` Tejun Heo
2015-06-04  8:39         ` yalin wang

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=20150601114019.GA14841@htj.duckdns.org \
    --to=tj@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=laijs@cn.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nacc@linux.vnet.ibm.com \
    --cc=penguin-kernel@i-love.sakura.ne.jp \
    --cc=yalin.wang2010@gmail.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®