From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx102.postini.com [74.125.245.102]) by kanga.kvack.org (Postfix) with SMTP id C3B176B0044 for ; Mon, 23 Apr 2012 19:50:50 -0400 (EDT) Received: by iajr24 with SMTP id r24so191737iaj.14 for ; Mon, 23 Apr 2012 16:50:50 -0700 (PDT) Date: Mon, 23 Apr 2012 16:50:48 -0700 (PDT) From: David Rientjes Subject: Re: [PATCH 01/16] mm: Serialize access to min_free_kbytes In-Reply-To: <1334578624-23257-2-git-send-email-mgorman@suse.de> Message-ID: References: <1334578624-23257-1-git-send-email-mgorman@suse.de> <1334578624-23257-2-git-send-email-mgorman@suse.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Mel Gorman Cc: Andrew Morton , Linux-MM , Linux-Netdev , LKML , David Miller , Neil Brown , Peter Zijlstra , Mike Christie , Eric B Munson 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@chello.nl: Older patch fixed the race with spinlock] > Signed-off-by: Mel Gorman > Reviewed-by: Rik van Riel Acked-by: David Rientjes -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org