Re: [PATCH 01/15] mm: Serialize access to min_free_kbytes

From: Rik van Riel
Date: Wed Feb 08 2012 - 13:48:59 EST


On 02/06/2012 05:56 PM, Mel Gorman wrote:
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@xxxxxxxxx: Older patch fixed the race with spinlock]
Signed-off-by: Mel Gorman<mgorman@xxxxxxx>

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/