public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Steven Whitehouse <swhiteho@redhat.com>
To: Tejun Heo <tj@kernel.org>
Cc: lkml <linux-kernel@vger.kernel.org>,
	Jeff Garzik <jeff@garzik.org>, Dave Chinner <david@fromorbit.com>,
	Florian Mickler <florian@mickler.org>
Subject: Re: [PATCH wq#for-next] workqueue: add and use WQ_MEM_RECLAIM flag
Date: Mon, 11 Oct 2010 14:59:04 +0100	[thread overview]
Message-ID: <1286805544.2753.102.camel@dolmen> (raw)
In-Reply-To: <4CB30F9A.9030809@kernel.org>

Hi,

On Mon, 2010-10-11 at 15:22 +0200, Tejun Heo wrote:
> Add WQ_MEM_RECLAIM flag which currently maps to WQ_RESCUER, mark
> WQ_RESCUER as internal and replace all external WQ_RESCUER usages to
> WQ_MEM_RECLAIM.
> 
> This makes the API users express the intent of the workqueue instead
> of indicating the internal mechanism used to guarantee forward
> progress.  This is also to make it cleaner to add more semantics to
> WQ_MEM_RECLAIM.  For example, if deemed necessary, memory reclaim
> workqueues can be made highpri.
> 
> This patch doesn't introduce any functional change.
> 
> Signed-off-by: Tejun Heo <tj@kernel.org>
> Cc: Jeff Garzik <jgarzik@pobox.com>
> Cc: Dave Chinner <david@fromorbit.com>
> Cc: Steven Whitehouse <swhiteho@redhat.com>
> ---
> WQ_RESCUER is a bit too specific to be directly used by workqueue
> users.  Let's clean it up before the usage is widespread.  If nobody
> objects, I'd like to route this through the workqueue tree.  Also, as
> WQ_RESCUER isn't removed, this won't break anything from other trees
> and those can be updated later.
> 
> Thanks.
> 
Looks good to me, but we'll need to bear in mind that this patch is
already queued for the next merge window:
http://git.kernel.org/?p=linux/kernel/git/steve/gfs2-2.6-nmw.git;a=commitdiff;h=9fa0ea9f26f64fbfc3dfd51d1dc2c230b65ffb19

so we'll have to figure out how best to merge when the time comes,

Steve



  reply	other threads:[~2010-10-11 13:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-11 13:22 [PATCH wq#for-next] workqueue: add and use WQ_MEM_RECLAIM flag Tejun Heo
2010-10-11 13:59 ` Steven Whitehouse [this message]
2010-10-11 13:55   ` Tejun Heo
2010-10-11 14:06     ` Steven Whitehouse

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=1286805544.2753.102.camel@dolmen \
    --to=swhiteho@redhat.com \
    --cc=david@fromorbit.com \
    --cc=florian@mickler.org \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@kernel.org \
    /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