From: Li Zefan Date: Thu, 2 Apr 2009 23:57:49 +0000 (-0700) Subject: cpuset: fix possible races in cpu/memory hotplug X-Git-Tag: v2.6.30-rc1~349 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b4217b3fdddc4a58939720d3ed809537577d48b;p=pandora-kernel.git cpuset: fix possible races in cpu/memory hotplug Change to cpuset->cpus_allowed and cpuset->mems_allowed should be protected by callback_mutex, otherwise the reader may read wrong cpus/mems. This is cpuset's lock rule. Signed-off-by: Li Zefan Cc: Paul Menage Cc: Ingo Molnar Cc: Peter Zijlstra Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed