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

From: David Rientjes
Date: Mon Apr 23 2012 - 19:50:49 EST

On Mon, 16 Apr 2012, 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>

Acked-by: David Rientjes <rientjes@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
Please read the FAQ at