Hello, Lai. On Wed, Sep 19, 2012 at 06:13:24PM +0800, Lai Jiangshan wrote: > From 314d43f087c85b11a29be0555f32deeb742bf18e Mon Sep 17 00:00:00 2001 > From: Lai Jiangshan <[email protected]> > Date: Tue, 18 Sep 2012 16:26:30 +0800 > Subject: [PATCH] workqueue: use common cwq_set_max_active() for > workqueue_set_max_active() > > workqueue_set_max_active() may increase ->max_active without activating > delayed works. And it may cause the activation order doesn't equal to > to queue_work()-order. > > To make things consist, we use common cwq_set_max_active() logic which > immediately makes use of the newly increased max_mactive if there are > delayed work items and also keep activation ordering. > > Signed-off-by: Lai Jiangshan <[email protected]>
Applied 1-2 to wq/for-3.7 with minor updates to comments and descriptions. Thanks for doing this! -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

