mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lai Jiangshan <laijs@cn.fujitsu.com>
To: <linux-kernel@vger.kernel.org>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>, Tejun Heo <tj@kernel.org>
Subject: [PATCH 0/2 V2] workqueue: refactor and extend the lock for attrs changes
Date: Tue, 19 May 2015 18:03:46 +0800	[thread overview]
Message-ID: <1432029828-3386-1-git-send-email-laijs@cn.fujitsu.com> (raw)

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@kernel.org>

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


             reply	other threads:[~2015-05-19 10:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-19 10:03 Lai Jiangshan [this message]
2015-05-19 10:03 ` [PATCH 1/2] workqueue: separate out and refactor the locking of applying attrs Lai Jiangshan
2015-05-19 10:03 ` [PATCH 2/2] workqueue: ensure attrs changes are properly synchronized Lai Jiangshan
2015-05-19 21:37 ` [PATCH 0/2 V2] workqueue: refactor and extend the lock for attrs changes Tejun Heo

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=1432029828-3386-1-git-send-email-laijs@cn.fujitsu.com \
    --to=laijs@cn.fujitsu.com \
    --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

all inboxes | Powered by JetHome®