]> git.baikalelectronics.ru Git - kernel.git/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)
commit24c7ff45b3e59ebefa53313f1ff08db8220e4754
tree3752bba902e73001443bb75f40495cc3a1d24f54
parent295e3a0c64048380914c679524c0220886850949
[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