Received: by 10.223.185.116 with SMTP id b49csp1053620wrg; Wed, 21 Feb 2018 11:15:39 -0800 (PST) X-Google-Smtp-Source: AH8x226SLfNJ9UinuGKNI185fq5aS2eQN9/sIcxrBnGQUSqEHkTl31Mn8/KWjFIYFIG8/x5YBKGB X-Received: by 10.99.0.139 with SMTP id 133mr3533204pga.267.1519240539622; Wed, 21 Feb 2018 11:15:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519240539; cv=none; d=google.com; s=arc-20160816; b=1E1edPhvGKtYlm9iu99KVSxz/sQU7uBWFu2EuYUMyzQV4HhWbeRdTsVgRqkfrhLIv7 y2tEiPEWqOTIf20hcYUjpHuVnCtbV7ghWVDNkO/cSNNmI+Dw3Lz/OOSEVz8zZHVpVaAL /gDxYmw7sp9wlhKymX5AKMDWRQJtdJ95W7JF4BhLfIN5YnOn5zCGkzAUDLCCzJGAvHFB GjaWR+vx9aoOv5BEXNP7xMXVa9iN4pJXOpQOjdMtrN4wfkydWGzG7/tvgcS0+AL1wK1p pkB3TW3aHxtvHkeA/UnmzZCpxPbmFhSbeJN0Bfn6ydB7lhvVUqENgaXlZzCBR+fsjsoB myng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=14wrKqQf8uyRE+MAxLXAMfl9BlyrLuujB9MhF49imgo=; b=MdCyq0L/FtZVrUAo76s8FNx3kInRetdnZLjJevZjwgEw2Rl1riTF1IGKe3TdU/9sv6 pjwgY4GmQEOsqVlrUcA+F8pM0YOJsbjir23Rdo9dPHIVg2jDn9Rsrq0IHZ41iBqFpAU1 4rNBqP2qYLjh11Oz2qIsuDwtamw4MStjSIVvMigvoEB49g0X5Ys0aFbpLHEH/E8lOPyn g0Sz0TjTa2/obQzW+h6LA1Jcx79SiZQ4sxi74fB7HzwNWQ/GpVC0P2fZSewuOYGV6WHo mcGGUGvcGOnQ1KLfrvNBS2ldvr2bTMFXPeYH6cpvoyjXCyA22s3n8XFqMJK31Fm5I6rG lR1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q25si196770pge.457.2018.02.21.11.15.24; Wed, 21 Feb 2018 11:15:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932401AbeBUSw5 (ORCPT + 99 others); Wed, 21 Feb 2018 13:52:57 -0500 Received: from mx2.suse.de ([195.135.220.15]:45935 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932244AbeBUSw4 (ORCPT ); Wed, 21 Feb 2018 13:52:56 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A0EF9AD91; Wed, 21 Feb 2018 18:52:54 +0000 (UTC) Date: Wed, 21 Feb 2018 19:52:52 +0100 From: Michal Hocko To: Dan Rue Cc: Andrew Morton , linux-mm@kvack.org, Mike Kravetz , Naoya Horiguchi , LKML Subject: Re: [PATCH 5/6] mm, hugetlb: further simplify hugetlb allocation API Message-ID: <20180221185252.GJ2231@dhcp22.suse.cz> References: <20180103093213.26329-1-mhocko@kernel.org> <20180103093213.26329-6-mhocko@kernel.org> <20180221042457.uolmhlmv5je5dqx7@xps> <20180221095526.GB2231@dhcp22.suse.cz> <20180221100107.GC2231@dhcp22.suse.cz> <20180221161914.ltssyoumwpyiwca6@xps> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180221161914.ltssyoumwpyiwca6@xps> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 21-02-18 10:19:14, Dan Rue wrote: > On Wed, Feb 21, 2018 at 11:01:07AM +0100, Michal Hocko wrote: > > On Wed 21-02-18 10:55:26, Michal Hocko wrote: > > > On Tue 20-02-18 22:24:57, Dan Rue wrote: > > [...] > > > > I bisected the failure to this commit. The problem is seen on multiple > > > > architectures (tested x86-64 and arm64). > > > > > > The patch shouldn't have introduced any functional changes IIRC. But let > > > me have a look > > > > Hmm, I guess I can see it. Does the following help? > > --- > > diff --git a/mm/hugetlb.c b/mm/hugetlb.c > > index 7c204e3d132b..a963f2034dfc 100644 > > --- a/mm/hugetlb.c > > +++ b/mm/hugetlb.c > > @@ -1583,7 +1583,7 @@ static struct page *alloc_surplus_huge_page(struct hstate *h, gfp_t gfp_mask, > > page = NULL; > > } else { > > h->surplus_huge_pages++; > > - h->nr_huge_pages_node[page_to_nid(page)]++; > > + h->surplus_huge_pages_node[page_to_nid(page)]++; > > } > > > > out_unlock: > > That did the trick. Confirmed fixed on v4.15-3389-g0c397daea1d4 and > v4.16-rc2 with the above patch. Thanks a lot for re-testing! Can I assume your Tested-by? -- Michal Hocko SUSE Labs