From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx101.postini.com [74.125.245.101]) by kanga.kvack.org (Postfix) with SMTP id 836276B13F0 for ; Tue, 14 Feb 2012 03:40:01 -0500 (EST) Received: from m2.gw.fujitsu.co.jp (unknown [10.0.50.72]) by fgwmail6.fujitsu.co.jp (Postfix) with ESMTP id D03ED3EE0C2 for ; Tue, 14 Feb 2012 17:39:59 +0900 (JST) Received: from smail (m2 [127.0.0.1]) by outgoing.m2.gw.fujitsu.co.jp (Postfix) with ESMTP id B36D645DE56 for ; Tue, 14 Feb 2012 17:39:59 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (s2.gw.fujitsu.co.jp [10.0.50.92]) by m2.gw.fujitsu.co.jp (Postfix) with ESMTP id 9BDBC45DD74 for ; Tue, 14 Feb 2012 17:39:59 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id 84A7E1DB8046 for ; Tue, 14 Feb 2012 17:39:59 +0900 (JST) Received: from m107.s.css.fujitsu.com (m107.s.css.fujitsu.com [10.240.81.147]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id 3BBB81DB803C for ; Tue, 14 Feb 2012 17:39:59 +0900 (JST) Date: Tue, 14 Feb 2012 17:38:21 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [PATCHv21 10/16] mm: Serialize access to min_free_kbytes Message-Id: <20120214173821.8a214716.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <1328895151-5196-11-git-send-email-m.szyprowski@samsung.com> References: <1328895151-5196-1-git-send-email-m.szyprowski@samsung.com> <1328895151-5196-11-git-send-email-m.szyprowski@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Marek Szyprowski Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-mm@kvack.org, linaro-mm-sig@lists.linaro.org, Michal Nazarewicz , Kyungmin Park , Russell King , Andrew Morton , Daniel Walker , Mel Gorman , Arnd Bergmann , Jesse Barker , Jonathan Corbet , Shariq Hasnain , Chunsang Jeong , Dave Hansen , Benjamin Gaignard , Rob Clark , Ohad Ben-Cohen On Fri, 10 Feb 2012 18:32:25 +0100 Marek Szyprowski wrote: > From: Mel Gorman > > 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 > Signed-off-by: Marek Szyprowski At linux-next, conflicted with "mm: add extra free kbytes tunable" To the logic, Reviewed-by: KAMEZAWA Hiroyuki -- 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