]> err.no Git - linux-2.6/commit
[PATCH] cpuset: don't need to mark cpuset_mems_generation atomic
authorPaul Jackson <pj@sgi.com>
Fri, 24 Mar 2006 11:16:11 +0000 (03:16 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Mar 2006 15:33:24 +0000 (07:33 -0800)
commit151a44202d097ae8b1bbaa6d8d2f97df30e3cd1e
tree3752bba902e73001443bb75f40495cc3a1d24f54
parent8488bc359d674baf710992e4b641513ea5ebd212
[PATCH] cpuset: don't need to mark cpuset_mems_generation atomic

Drop the atomic_t marking on the cpuset static global
cpuset_mems_generation.  Since all access to it is guarded by the global
manage_mutex, there is no need for further serialization of this value.

Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/cpuset.c