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

KAMEZAWA Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Tue Feb 14 03:38:21 EST 2012


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

> From: Mel Gorman <mgorman at 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 at chello.nl: Older patch fixed the race with spinlock]
> Signed-off-by: Mel Gorman <mgorman at suse.de>
> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>

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

To the logic,
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>




More information about the linux-arm-kernel mailing list