From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx195.postini.com [74.125.245.195]) by kanga.kvack.org (Postfix) with SMTP id 9E4D06B0031 for ; Fri, 9 Aug 2013 05:37:26 -0400 (EDT) Date: Fri, 9 Aug 2013 18:37:24 +0900 From: Joonsoo Kim Subject: Re: [PATCH 17/18] mm, hugetlb: retry if we fail to allocate a hugepage with use_reserve Message-ID: <20130809093724.GA11091@lge.com> References: <1375075929-6119-18-git-send-email-iamjoonsoo.kim@lge.com> <20130729072823.GD29970@voom.fritz.box> <20130731053753.GM2548@lge.com> <20130803104302.GC19115@voom.redhat.com> <20130805073647.GD27240@lge.com> <1375834724.2134.49.camel@buesod1.americas.hpqcorp.net> <20130807010312.GA17110@voom.redhat.com> <1375839529.2134.50.camel@buesod1.americas.hpqcorp.net> <20130807091832.GD32449@lge.com> <20130809000231.GB2904@voom.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130809000231.GB2904@voom.fritz.box> Sender: owner-linux-mm@kvack.org List-ID: To: David Gibson Cc: Davidlohr Bueso , Andrew Morton , Rik van Riel , Mel Gorman , Michal Hocko , "Aneesh Kumar K.V" , KAMEZAWA Hiroyuki , Hugh Dickins , Davidlohr Bueso , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Wanpeng Li , Naoya Horiguchi , Hillf Danton > I once attempted an approach involving an atomic counter of the number > of "in flight" hugepages, only retrying when it's non zero. Working > out a safe ordering for all the updates to get all the cases right > made my brain melt though, and I never got it working. I sent v2 few seconds before. My new approach is similar as yours. Could you review my patches to save my brain to be melted? :) Thanks. -- 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/ . Don't email: email@kvack.org