[PATCH 0/2 V2] workqueue: refactor and extend the lock for attrs changes

From: Lai Jiangshan
Date: Tue May 19 2015 - 06:00:17 EST


Current modification to attrs via sysfs is not fully synchronized.
So this patch separates out and refactors the locking and
ensures attrs changes are properly synchronized.

changed from v1
just split the patch

Cc: Tejun Heo <tj@xxxxxxxxxx>

Lai Jiangshan (2):
workqueue: separate out and refactor the locking of applying attrs
workqueue: ensure attrs changes are properly synchronized

kernel/workqueue.c | 112 +++++++++++++++++++++++++++++++++--------------------
1 file changed, 70 insertions(+), 42 deletions(-)

--
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/