public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Tourrilhes <jt@hpl.hp.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Rusty Russell <rusty@rustcorp.com.au>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] kthread: export park/unpark facility
Date: Thu, 9 Jul 2015 09:20:17 -0700	[thread overview]
Message-ID: <20150709162017.GB24426@hpl.hp.com> (raw)
In-Reply-To: <alpine.DEB.2.11.1507091003030.5134@nanos>

On Thu, Jul 09, 2015 at 10:05:02AM +0200, Thomas Gleixner wrote:
> 
> >  This patch should definitely help most modules.
> 
> And how exactly would this help modules?

	Putting kthread to sleep and waking them up later is slightly
tricky :
		http://www.linuxjournal.com/article/8144

	The park and unpark API encapsulate this functionality in
a pretty nice and clean API, and avoid duplicating this code in
various modules. I'm all for sharing the joy ;-)

> Thanks,
> 
> 	tglx

	Regards,

	Jean

  reply	other threads:[~2015-07-09 16:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-09  0:40 [PATCH] kthread: export park/unpark facility Jean Tourrilhes
2015-07-09  3:23 ` Peter Hurley
2015-07-09 16:08   ` Jean Tourrilhes
2015-07-09  8:05 ` Thomas Gleixner
2015-07-09 16:20   ` Jean Tourrilhes [this message]
2015-07-09 16:49     ` Thomas Gleixner
2015-07-09 16:53       ` Jean Tourrilhes

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=20150709162017.GB24426@hpl.hp.com \
    --to=jt@hpl.hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    --cc=tglx@linutronix.de \
    /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