Re: [PATCHv21 10/16] mm: Serialize access to min_free_kbytes

From: KAMEZAWA Hiroyuki
Date: Tue Feb 14 2012 - 03:40:06 EST


On Fri, 10 Feb 2012 18:32:25 +0100
Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> wrote:

> From: Mel Gorman <mgorman@xxxxxxx>
>
> 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>
> Signed-off-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>

At linux-next, conflicted with "mm: add extra free kbytes tunable"

To the logic,
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

--
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/