lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 11 Oct 2010 14:59:04 +0100
From:	Steven Whitehouse <swhiteho@...hat.com>
To:	Tejun Heo <tj@...nel.org>
Cc:	lkml <linux-kernel@...r.kernel.org>, Jeff Garzik <jeff@...zik.org>,
	Dave Chinner <david@...morbit.com>,
	Florian Mickler <florian@...kler.org>
Subject: Re: [PATCH wq#for-next] workqueue: add and use WQ_MEM_RECLAIM flag

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@...nel.org>
> Cc: Jeff Garzik <jgarzik@...ox.com>
> Cc: Dave Chinner <david@...morbit.com>
> Cc: Steven Whitehouse <swhiteho@...hat.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


--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ