On Fri, 10 Feb 2012 18:32:25 +0100 Marek Szyprowski m.szyprowski@samsung.com wrote:
From: Mel Gorman mgorman@suse.de
There is a race between the min_free_kbytes sysctl, memory hotplug and transparent hugepage support enablement. Memory hotplug uses a zonelists_mutex to avoid a race when building zonelists. Reuse it to serialise watermark updates.
[a.p.zijlstra@chello.nl: Older patch fixed the race with spinlock] Signed-off-by: Mel Gorman mgorman@suse.de Signed-off-by: Marek Szyprowski m.szyprowski@samsung.com
At linux-next, conflicted with "mm: add extra free kbytes tunable"
To the logic, Reviewed-by: KAMEZAWA Hiroyuki kamezawa.hiroyu@jp.fujitsu.com