From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx163.postini.com [74.125.245.163]) by kanga.kvack.org (Postfix) with SMTP id C71C96B0031 for ; Wed, 31 Jul 2013 16:55:17 -0400 (EDT) Date: Wed, 31 Jul 2013 16:55:06 -0400 From: Naoya Horiguchi Message-ID: <1375304106-zw8ye9cc-mutt-n-horiguchi@ah.jp.nec.com> In-Reply-To: <20130731050250.GH2548@lge.com> References: <1375075929-6119-1-git-send-email-iamjoonsoo.kim@lge.com> <1375075929-6119-9-git-send-email-iamjoonsoo.kim@lge.com> <1375121151-dxyftdvy-mutt-n-horiguchi@ah.jp.nec.com> <20130731050250.GH2548@lge.com> Subject: Re: [PATCH 08/18] mm, hugetlb: do hugepage_subpool_get_pages() when avoid_reserve Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-linux-mm@kvack.org List-ID: To: Joonsoo Kim Cc: Andrew Morton , Rik van Riel , Mel Gorman , Michal Hocko , "Aneesh Kumar K.V" , KAMEZAWA Hiroyuki , Hugh Dickins , Davidlohr Bueso , David Gibson , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Wanpeng Li , Hillf Danton On Wed, Jul 31, 2013 at 02:02:50PM +0900, Joonsoo Kim wrote: > On Mon, Jul 29, 2013 at 02:05:51PM -0400, Naoya Horiguchi wrote: > > On Mon, Jul 29, 2013 at 02:31:59PM +0900, Joonsoo Kim wrote: > > > When we try to get a huge page with avoid_reserve, we don't consume > > > a reserved page. So it is treated like as non-reserve case. > > > > This patch will be completely overwritten with 9/18. > > So is this patch necessary? > > Yes. This is a bug fix, so should be separate. > When we try to allocate with avoid_reserve, we don't use reserved page pool. > So, hugepage_subpool_get_pages() should be called and returned if failed. > > If we merge these into one, we cannot know that there exists a bug. OK, so you can merge this with the subpool accounting fix in 6/18 as one fix. Thanks, Naoya -- 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