Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp949039pxb; Thu, 24 Mar 2022 09:48:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrfjwxZQ5QUwQ2n9MnO49xr+Mo9J6rqb357JebQ8fogaUFVXW6Tl7f1hziuK2FvLM4pG2w X-Received: by 2002:a17:903:246:b0:153:84fe:a9b0 with SMTP id j6-20020a170903024600b0015384fea9b0mr6758758plh.163.1648140510084; Thu, 24 Mar 2022 09:48:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648140510; cv=none; d=google.com; s=arc-20160816; b=IWOOceexOYiHio50/Gtr2RhUQv2+QoJ66DdiMO/I2g042f8llSzAuJPqPxFfXw/DWc S4Gxxl0fkwrSoCrRoD0K2tH9UYFcB/IxyItkt+IO/5+idiQCdL6q6+HlfQ2R6IhwdFgn E0UwLj4ZNQtauP+A9GDX2lU5j2itomqMSEokuSLhqyiVTMRKwhGu+Mv4PdYufHe2JEGX aGCMzKo6gjKVf6y72+EggEu2+tKkQz0ShjpU/Q4Rg+OiV5JikZnwxPja0nnG2fF1PWNR 04EAnteR0rkCvrypDqy5nwY8MPFVNPon6r4VngbzpzS79FyT/wuBjVifvJ1FYluFHW64 RK9Q== 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=36h/S0Clp/nvCxukvPy6/XtW8cB+pJjrm8iQozTySag=; b=whZ2Zb1KccrtjR38PtoGBqd4qQrOGrjJNI8R+PYIWgzBL29876QALtvdJo4g6ULEdo siu4KAsaFLBJCgOg8b2XLVv92llYeAB92S4PWPFREgj4x2FD5myhxzknxWdfUU61Y+j4 MrByAaTN0UudgSg+hRtSQ8tu9EQvIYDQdC3dJaORQN3nh3Ry2QaFy/appOfao1KFTdOy PyibVzJcfLAmxGhldFUDJ4Q/B1UMAxACtPAhUFl4uOcDDwLesCv1/dPAYCpAbNpLFpwf jbHYXQMOox2sjoOX8rCjN7mpdIEH7WNgLU2Y3HHRAiymlRP/U9X63XkBSeA0GKEYQYmO DNKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=18LkZ9Hc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d125-20020a636883000000b003816043efd8si22058386pgc.461.2022.03.24.09.48.15; Thu, 24 Mar 2022 09:48:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=18LkZ9Hc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349473AbiCXKW2 (ORCPT + 99 others); Thu, 24 Mar 2022 06:22:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346336AbiCXKWZ (ORCPT ); Thu, 24 Mar 2022 06:22:25 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 601BD3B56A for ; Thu, 24 Mar 2022 03:20:53 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id x20so7476461ybi.5 for ; Thu, 24 Mar 2022 03:20:53 -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=36h/S0Clp/nvCxukvPy6/XtW8cB+pJjrm8iQozTySag=; b=18LkZ9Hc285ByXPq0/0j55IK8HSByCsj9085mstrKDAU69p5SwkZqlQirwZk4Wqlki dXCx9XJcKQUoOaArx+6svMWM8t5p7oKhLLl7oZnet4RFaeGrJLtC6etD5netypUNf0s4 Q2s+FnB8TpdZzyPszrrc263pjeQfTCLhZsui1OKGYespyEmZtxQIAYFMyeYmjWkSDXrA hFcnh3leASVLQTCKO8YwDo0mL9bspI/aG4abfEZFrbB9q6pwHH+b2Bmeoe3bx+kGgqIN Mpfwa0qFNYWvJ028OCqoLaXa6nVEEQJCNtW+qNXZ4wfhckFgf3NycOHXn4bmhD6/G8zw LDWg== 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=36h/S0Clp/nvCxukvPy6/XtW8cB+pJjrm8iQozTySag=; b=iYBYTxvaJZ9l1bZNL4lLnIgGyAyZvfat0SEj7a5KMhqKF3wjorpBanh1lnQq00vClv geJHL07dESKTlzjOSoo44Pl8IMrmY2jZy2F0C0nHg0iryzJ9hLfClwWl3GlvkLAXMQKS ooPHwLKJiWNdQF9OAXd1yL2y1l+CWmF0qqhc/7FQs04cLi5rRiqVqjhNuYIkfnWSHe9y C7BsmNeLVrIIswn+lSaVt/DSU20tiLlsUcokClWbZ4723dcTOtcjYjdaawqpE06vPPPG b/HokRiH1mccxy5NNK39StnxhUnC1rZdOOdK3Q+pxrkfQZjBCe5MQ7DGZw2Am3jbvIXI 33ow== X-Gm-Message-State: AOAM532o2hQq/KlTPkwLzYRP2dPwdl53MsuyrWyet2leMOiy81KHD85m g38nazhJiQnauvblFmT+rx1AlVc5CKfK/cDFJ7AF6g== X-Received: by 2002:a25:24d:0:b0:633:6b37:bea1 with SMTP id 74-20020a25024d000000b006336b37bea1mr3561472ybc.427.1648117252551; Thu, 24 Mar 2022 03:20:52 -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> In-Reply-To: <7872f093-e26d-3403-d6cf-c6c1a782242b@intel.com> From: Muchun Song Date: Thu, 24 Mar 2022 18:20:15 +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,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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 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. diff --git a/Kbuild b/Kbuild index 21415c3b2728..a8477c011b1d 100644 --- a/Kbuild +++ b/Kbuild @@ -42,7 +42,7 @@ $(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s FORCE struct_page_size-file := include/generated/struct_page_size.h always-y := $(struct_page_size-file) -targets := mm/struct_page_size.s +targets += mm/struct_page_size.s mm/struct_page_size.s: $(timeconst-file) $(bounds-file)