Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760620Ab3GaU40 (ORCPT ); Wed, 31 Jul 2013 16:56:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42901 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757339Ab3GaU4Z (ORCPT ); Wed, 31 Jul 2013 16:56:25 -0400 Date: Wed, 31 Jul 2013 16:55:06 -0400 From: Naoya Horiguchi 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 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 X-Mutt-References: <20130731050250.GH2548@lge.com> X-Mutt-Fcc: ~/Maildir/sent/ User-Agent: Mutt 1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1046 Lines: 25 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/