Received: by 10.223.185.116 with SMTP id b49csp1053984wrg; Wed, 21 Feb 2018 11:16:01 -0800 (PST) X-Google-Smtp-Source: AH8x227CDIQwl1o6su6y0/vXlxN4QjEk73KFVNIU0KHUKTz/X9XGOKqxEZqyy2qOJJZWZ4W6fdm+ X-Received: by 2002:a17:902:66e6:: with SMTP id e93-v6mr4007789plk.173.1519240561819; Wed, 21 Feb 2018 11:16:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519240561; cv=none; d=google.com; s=arc-20160816; b=uSEwffMJ3QFrUWMAg/dDHPyL5Hcip8RA+77scMsPJID5ssr/fbiriM0fBaVqD498kL daaHJQL2fuG13hOxb21Yb0eNtJVys4I2cEYdh/MSQbrHHm0Mj91mjCWYci1YAf561H35 1LMgdeHBEnw6v30YgGIMlzqzUZRGPxEfAOLvMU1OcZVoXJfUDs2rGglQoqawVeOG7m9y pXBEPzg4RlU97RtrjV7YFE+0ZC/5t4/8EYnaSRslvjGiETajByfkliA1zIoPi4fgbgfl RYDU8+vqJrmLm2cgKrOu9K8ufMt8Jw4CXEBL245TAOZPvInEFooQC23QSMTK+ciN06Ps 5shA== 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:dkim-signature:arc-authentication-results; bh=f4ro14frXmogOLc1PqGRumYTh3mip0LyQS4k2Q9VMWY=; b=NxIQsdZlxSnsAnG+Ffhd8r42CQrgthFbRqHGFzfU3TYFnxNwWXpUQCFKDujHPEZkn1 PgDVw7dNGlfqyD/++WbAJ/J1E5PlbhJBkQK/ZcDaYA96rzxA6buH9lpg1urAEIDs78vZ 5VnfvrEoeCdsJ/L4ATFimoDcU7Rq4HufJGqfzE+xItz3qlFM/qGfObZvoQkSMkmW6rKg H+TbMJD9mSsl7Bag9ZuAVKNyGrcQGd1BJCrjoZjDa2QmQaT0Hpw4GOG+UKyzoq+ghvb9 +Dna/RnT4sAFrBwdIp3THApURkvFBmjOIHNlGBXABVv6CF4L3ZhKqAgX7R19G9sqIMCT D7bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NWOhwQaF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c11-v6si262532plo.675.2018.02.21.11.15.47; Wed, 21 Feb 2018 11:16:01 -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; dkim=pass header.i=@linaro.org header.s=google header.b=NWOhwQaF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752941AbeBUTFE (ORCPT + 99 others); Wed, 21 Feb 2018 14:05:04 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:39834 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752021AbeBUTFC (ORCPT ); Wed, 21 Feb 2018 14:05:02 -0500 Received: by mail-io0-f195.google.com with SMTP id b34so3251634ioj.6 for ; Wed, 21 Feb 2018 11:05:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=f4ro14frXmogOLc1PqGRumYTh3mip0LyQS4k2Q9VMWY=; b=NWOhwQaFk63hyoguoxpQKieeO1jtJwo/6I2iA5DYKy7eYcHnP533cvaBHgntQOqrK1 jyypmSYpC8jm3tTHo757WrhTzNS3LFJRXm3illjNV+fiw7TbeZ5EKwTmQVRW3fZQX38i rYRMKtJwX5P22HjfF+17EmIkZ0fKely6ZwW8c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=f4ro14frXmogOLc1PqGRumYTh3mip0LyQS4k2Q9VMWY=; b=mbuUeJ9I1ADICMfyzBjVyOaF/yAu4JTUfEFsVqzpRHet/PTPOR8NXkeFwLd1ZuNM6+ 4JYtYkBg51Q9JenleWk3xcD4vYceHLEOz/Ee8BAcN5p4+YKcRdGHp6cl7CyjlqNEFvfx KGKLyXW/VJjiRWlp3pc+Te5uQ3zJZ0w7RSvdaiT6HV1Iur/osa/m51Ck7dg7AzTUwO2s rae+vCugwGuY5Zxu69WA+HrHYI/SeDiJqvlL8TrrXIBKPk/3sqdi9AyuC1wk3UAszyBI KeM8pRUSxK5aFMui1JwNBNN1R9uM/6pS3+F92Eku6b+ZManf7NI3rVC/rBlVIj7J1qDQ j8kw== X-Gm-Message-State: APf1xPAgF1HrvPnMJ2bnrQygn804kATrFV29vjZ/2G1opPGcLLArBnS7 GU3XvHle+FOiQDSmwTlErIoNSA== X-Received: by 10.107.70.4 with SMTP id t4mr5265169ioa.234.1519239901675; Wed, 21 Feb 2018 11:05:01 -0800 (PST) Received: from localhost (c-68-47-89-210.hsd1.mn.comcast.net. [68.47.89.210]) by smtp.gmail.com with ESMTPSA id k199sm9911495itb.35.2018.02.21.11.05.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 21 Feb 2018 11:05:01 -0800 (PST) Date: Wed, 21 Feb 2018 13:05:00 -0600 From: Dan Rue To: Michal Hocko 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: <20180221190500.oa2osuf3kwxpizz4@xps> 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> <20180221185252.GJ2231@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180221185252.GJ2231@dhcp22.suse.cz> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 21, 2018 at 07:52:52PM +0100, Michal Hocko wrote: > 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? Tested-by: Dan Rue > > -- > Michal Hocko > SUSE Labs