Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2143416pxb; Fri, 25 Mar 2022 11:52:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7mjRQp/wp+Za/Z/A0wrwPYhPofEHJPzOrh8JXVkSks3gRjwlsBhIQxFtq4pMae9CXla8f X-Received: by 2002:a17:903:1210:b0:151:fa59:95ef with SMTP id l16-20020a170903121000b00151fa5995efmr13433739plh.57.1648234340975; Fri, 25 Mar 2022 11:52:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648234340; cv=none; d=google.com; s=arc-20160816; b=pj8/yUIEpuLJUPc5SVIk5H0QIwbmc6O4jK8YLPsrdy+IXhOJzDw/Y1yQtJZbLYV3z5 CEPfK2ZNZnDpOUzlMgCocpjPf4xNZXQC8OwZmuYiJQR5H4af71c/f08gNRBWkS0zYyx7 74FvS0bL1v7BAT32/WY81VoocCsvkjayApnRhfZqmNZK751RRdVzFjWeCl7ek66K67gY e6dlLhZZTLwiECz/QNwlJpkgvdZ7L78jchz6sd7J0OcIPcobsOr6yKIly6HG5qv0fCP9 aptmpO9N08t0YsAt+opnAp71mlxSYUcQEi4i5VvKlMkFz8JUdVRJaSAA/EuF6o7xO0IF Ai+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=o+0BbB+UwcXM8aJXn73uapD7rigb18/OqbdOVcbPmAM=; b=jqWAMdCVtF1ckLP8Uy9nu/G75HH2+/UqtRM7Ydh0JiPrqpHM3mzharKoZzZ0EundP4 C3lCd3jXpuqPcVAX/vdKQ7PqS4BEs0ZZynfrMuaFlSMEoLQwEnGuLwf8tKaiBKa+2Lrl SU9PKLHI4eLNZ7iVas07rpVVhNnGugjLLXxftT6Qrgt426yWuD0Tw7l6bTWEN5vDj6Gh lj9b/ukX7MwAU2UKvA2Ib2ijTubkOOeaxwWQ7V537XYJiwxcGfe8L/zBDyCSZaBxvOG3 0KH8mlUkljjMZXr/yxDBP5XFKcBcNVNXU/QA0ozkuayxQYy7qIkhuR7EML1aQrS2acIV jA5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=sdZYLnC7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q5-20020a170902f78500b00153b2d16565si3049976pln.365.2022.03.25.11.52.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 11:52:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=sdZYLnC7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1157B1C0271; Fri, 25 Mar 2022 11:04:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349587AbiCXKuR (ORCPT + 99 others); Thu, 24 Mar 2022 06:50:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349609AbiCXKuO (ORCPT ); Thu, 24 Mar 2022 06:50:14 -0400 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CF772613E for ; Thu, 24 Mar 2022 03:48:29 -0700 (PDT) Received: by mail-yb1-xb29.google.com with SMTP id y142so7697557ybe.11 for ; Thu, 24 Mar 2022 03:48:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=o+0BbB+UwcXM8aJXn73uapD7rigb18/OqbdOVcbPmAM=; b=sdZYLnC7or9MsJZXuVE7tMujraBEpTXDao/rNXk4s7kbLOGI0vxxX+lv4/HISysnff glmrpBpohaUWJU+M66NHw2mEbup5sUCYDgmfZXKj3K+zWvAbTMtsN8vJ+r5Vl5qQteWt H5nLU0JZKmqvPPdA9M4ku6yLIgzsVztYd5nP2LI7kqIUoBpprcV140p0xiPrponKCsjt tUrDDPsoOaR/cttvnvRzZp4C5zrJ9dG7egr6ws6xZ5BHpKJ3wBauVpUmHSHAnJzJtOT1 xIN8d8fLYL1Q1FXUfVKkQzklW+DuBocraIXbJSgf/Czx66RBJXcYZGiDkbh6OoW7cu87 2TLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=o+0BbB+UwcXM8aJXn73uapD7rigb18/OqbdOVcbPmAM=; b=mNJ0E0O4PDzXJ5oxosQ6BDvczNZMH8aKNRPwrKAwO4M8q5Gp6YilyiOWoQQoo5u4xO oS9JSAqbTeolnS94uE7npmeR/gvMk3kuWCVSdfiwvVeIORUDndEjGvIx9NPNWdLQvrAw /hKDmasAxOcIZWq62I9QM/UHICw6iSNtMbPacz0xxR1T4NeylRzGCiF8SoTN7xTh/0Tk GVJArjnDiBPSFSw9/oDw/h/SB+tw9Vr1MdgkOy1gu5M9B7FvgqStLlrEBbB2UGxP8vmA wau7RyjU+I+rXj5B/KqIKgXG50kOh/6wcVPqsNRmtT5nBjM/XXf4ZBm8QbJZBgBatkE4 hULA== X-Gm-Message-State: AOAM530DDiKO0d0SCdZYSnUMDoHTgB3j+LS//jUlk2YbzHZ1a3VA8WbJ DCkaZvauB2ewiM/JLrvzbYACyBYjlbk6zcYjy9Vz3w== X-Received: by 2002:a25:943:0:b0:633:883b:3e21 with SMTP id u3-20020a250943000000b00633883b3e21mr4000965ybm.132.1648118909179; Thu, 24 Mar 2022 03:48:29 -0700 (PDT) MIME-Version: 1.0 References: <20220323125523.79254-2-songmuchun@bytedance.com> <202203240546.MHJzsBaO-lkp@intel.com> <20220323151311.289dd405440932e1d6d80f30@linux-foundation.org> <7872f093-e26d-3403-d6cf-c6c1a782242b@intel.com> <4bf80e3a-ada7-942b-5bc1-2a1d2fee17c8@intel.com> In-Reply-To: <4bf80e3a-ada7-942b-5bc1-2a1d2fee17c8@intel.com> From: Muchun Song Date: Thu, 24 Mar 2022 18:47:52 +0800 Message-ID: Subject: Re: [PATCH v5 1/4] mm: hugetlb_vmemmap: introduce STRUCT_PAGE_SIZE_IS_POWER_OF_2 To: "Chen, Rong A" Cc: Andrew Morton , kernel test robot , Jonathan Corbet , Mike Kravetz , Luis Chamberlain , Kees Cook , Iurii Zaikin , Oscar Salvador , David Hildenbrand , kbuild-all@lists.01.org, Linux Doc Mailing List , LKML , Linux Memory Management List , Xiongchun duan , Muchun Song Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 24, 2022 at 6:40 PM Chen, Rong A wrote: > > > > On 3/24/2022 6:20 PM, Muchun Song wrote: > > On Thu, Mar 24, 2022 at 5:40 PM Chen, Rong A wrote: > >> > >> > >> > >> On 3/24/2022 6:13 AM, Andrew Morton wrote: > >>> On Thu, 24 Mar 2022 06:06:41 +0800 kernel test robot wrote: > >>> > >>>> Hi Muchun, > >>>> > >>>> Thank you for the patch! Yet something to improve: > >>>> > >>>> [auto build test ERROR on hnaz-mm/master] > >>>> [also build test ERROR on linus/master next-20220323] > >>>> [cannot apply to mcgrof/sysctl-next v5.17] > >>>> [If your patch is applied to the wrong git tree, kindly drop us a note. > >>>> And when submitting patch, we suggest to use '--base' as documented in > >>>> https://git-scm.com/docs/git-format-patch] > >>>> > >>>> url: https://github.com/0day-ci/linux/commits/Muchun-Song/add-hugetlb_free_vmemmap-sysctl/20220323-205902 > >>>> base: https://github.com/hnaz/linux-mm master > >>>> config: arc-randconfig-r043-20220323 (https://download.01.org/0day-ci/archive/20220324/202203240546.MHJzsBaO-lkp@intel.com/config) > >>>> compiler: arc-elf-gcc (GCC) 11.2.0 > >>>> reproduce (this is a W=1 build): > >>>> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > >>>> chmod +x ~/bin/make.cross > >>>> # https://github.com/0day-ci/linux/commit/64211be650af117819368a26d7b86c33df5deea4 > >>>> git remote add linux-review https://github.com/0day-ci/linux > >>>> git fetch --no-tags linux-review Muchun-Song/add-hugetlb_free_vmemmap-sysctl/20220323-205902 > >>>> git checkout 64211be650af117819368a26d7b86c33df5deea4 > >>>> # save the config file to linux build tree > >>>> mkdir build_dir > >>>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc prepare > >>>> > >>>> If you fix the issue, kindly add following tag as appropriate > >>>> Reported-by: kernel test robot > >>>> > >>>> All errors (new ones prefixed by >>): > >>>> > >>>>>> cc1: fatal error: cannot open 'kernel/bounds.s' for writing: No such file or directory > >>> > >>> It would take a lot of talent for Munchun to have caused this! > >>> > >>> Methinks you just ran out of disk space? > >> > >> Hi Andrew, > >> > >> Thanks for the reply, I tried to apply this patch to the head of > >> mainline and I still can reproduce the error in my local machine: > >> > >> $ wget -q -O - > >> https://lore.kernel.org/lkml/20220323125523.79254-2-songmuchun@bytedance.com/raw > >> | git apply -v > >> $ mkdir build_dir && wget > >> https://download.01.org/0day-ci/archive/20220324/202203240546.MHJzsBaO-lkp@intel.com/config > >> -O build_dir/.config > >> $ COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross > >> O=build_dir ARCH=arc olddefconfig prepare > >> make --keep-going CONFIG_OF_ALL_DTBS=y CONFIG_DTC=y > >> CROSS_COMPILE=/home/nfs/0day/gcc-11.2.0-nolibc/arc-elf/bin/arc-elf- > >> --jobs=72 O=build_dir ARCH=arc olddefconfig prepare > >> ... > >> cc1: fatal error: cannot open 'kernel/bounds.s' for writing: No such > >> file or directory > >> compilation terminated. > >> make[3]: *** [../scripts/Makefile.build:121: kernel/bounds.s] Error 1 > >> make[3]: Target '__build' not remade because of errors. > >> make[2]: *** [../Makefile:1191: prepare0] Error 2 > >> make[2]: Target 'prepare' not remade because of errors. > >> > > > > Would you help me to test the following patch? Thanks. > > I have confirmed the patch can fix the issue. > Thanks Chen.