Reduce cpuset.c write_lock_irq() to read_lock()
authorPaul Menage <menage@google.com>
Mon, 16 Jul 2007 06:40:11 +0000 (23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:43 +0000 (09:05 -0700)
commitc2aef333c98b41eeb0f0d55b7faa7d4625a6160b
tree39917beefd3cddf1c5c2c68894346efe0cc7dff1
parentb2ff457b09554813a7df9e0cd30d5a169a257419
Reduce cpuset.c write_lock_irq() to read_lock()

cpuset.c:update_nodemask() uses a write_lock_irq() on tasklist_lock to
block concurrent forks; a read_lock() suffices and is less intrusive.

Signed-off-by: Paul Menage<menage@google.com>
Acked-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/cpuset.c