]> git.baikalelectronics.ru Git - kernel.git/commit
SYSCTL: Add a mutex to the page_alloc zone order sysctl
authorAndi Kleen <ak@linux.intel.com>
Wed, 23 Dec 2009 20:00:47 +0000 (21:00 +0100)
committerAndi Kleen <ak@linux.intel.com>
Wed, 23 Dec 2009 20:01:16 +0000 (21:01 +0100)
commit470ee348ddb5fcc7b5adecb0101cc03d6f4e3e45
treed0d635c07185b06ddcd2a82f6b2c90c188366431
parent93c2e96f0f4c12991c7f99bcbc1d3a9754c9a542
SYSCTL: Add a mutex to the page_alloc zone order sysctl

The zone list code clearly cannot tolerate concurrent writers (I couldn't
find any locks for that), so simply add a global mutex. No need for RCU
in this case.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
mm/page_alloc.c