Received: by 10.223.185.116 with SMTP id b49csp865148wrg; Wed, 21 Feb 2018 08:09:22 -0800 (PST) X-Google-Smtp-Source: AH8x226elnwWIoWKjl+f1Ww5PIrptZsPV9fuTIIUvypN4XZkr2/PD/Qkg7/4a0d3fk8Wi1YHQAQS X-Received: by 2002:a17:902:9a8b:: with SMTP id w11-v6mr3706968plp.118.1519229361972; Wed, 21 Feb 2018 08:09:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519229361; cv=none; d=google.com; s=arc-20160816; b=P7nOTXe+5pw8Ta8mLqSpfVp8YvkCLkz6CRaVBS0kqYIM/vVTWqc1ANQbmKtJzEJL1b xfAwEBpsNjCH/RLVfFw7ZWJue6jXQAzNLigz+vy2cUBGVtN1ag5o97op5eDRtO+4ZxIK zgMR1TDiRct5qQSyixadW4D3CrKNdUucdZywrVLEhWrut9ZlKddQvIwiK7qnvhWcu7k6 AEPMLskOFwjC/k9aWk6KP5wxlb/mBhBHDIMG+KxXlnrcwYFsP3+Ka0QrO0SAfJd2aQXn kw3m89dk0p8P1+h1djfOMO9/s+igqrIwGRcsLia65fRc0ZpwJEjQOwYrZVLT5xaesApy okXQ== 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=X9AKNA3u4UjmNNBe0Ie+L9vbJ4ZErfBy90SkK1rUYWQ=; b=IY3qU1jRwrQ3h7g/QXr8Mh4vUwlm8DT33J6u3PYkFyuwv2RMBQO8nSo7FSLuu3/RBy qYcTBIxHm/ZMt5QXZmR/PHsxQKXb7Ut0gHPC+hXabsJFCwtb+Ywea9wnQws6DvMDo7wf 7pyu1mv9yabtCwePnHsowZCeSQbwZ9jj+/tgcY+nR0xosiTOEYwk/gAj/FYyjaoRlj0n dLsQlQ2Sl+bxGYCYRDU3fHilg3qpaRZUUtIKnhVZJ3qhWp08YD+0YFtzg4ot7b2wbEAg 3+s2l50kRvoesHJqKGcXNY84bKQEzzyeifF8qQLfM0JcCyySc6bGe4+fpMZ3Xxfdbkw+ ou3Q== 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 s4si1494651pgf.390.2018.02.21.08.09.05; Wed, 21 Feb 2018 08:09:21 -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 S932674AbeBUKBK (ORCPT + 99 others); Wed, 21 Feb 2018 05:01:10 -0500 Received: from mx2.suse.de ([195.135.220.15]:57033 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932381AbeBUKBJ (ORCPT ); Wed, 21 Feb 2018 05:01:09 -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 3ECF0AD7C; Wed, 21 Feb 2018 10:01:08 +0000 (UTC) Date: Wed, 21 Feb 2018 11:01:07 +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: <20180221100107.GC2231@dhcp22.suse.cz> References: <20180103093213.26329-1-mhocko@kernel.org> <20180103093213.26329-6-mhocko@kernel.org> <20180221042457.uolmhlmv5je5dqx7@xps> <20180221095526.GB2231@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180221095526.GB2231@dhcp22.suse.cz> 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: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: -- Michal Hocko SUSE Labs