From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4712CC433F5 for ; Thu, 24 Mar 2022 10:48:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349607AbiCXKuS (ORCPT ); Thu, 24 Mar 2022 06:50:18 -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-Google-Smtp-Source: ABdhPJwFEXK/yTmINgXCVpOjf1Cb6C655DP2GnP83SY4yCXEPH0EGfJLHgJ19I1FD6u08GBYwPiw2MGUfQLqdEonGeM= 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" 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0457901711805146005==" MIME-Version: 1.0 From: Muchun Song To: kbuild-all@lists.01.org Subject: Re: [PATCH v5 1/4] mm: hugetlb_vmemmap: introduce STRUCT_PAGE_SIZE_IS_POWER_OF_2 Date: Thu, 24 Mar 2022 18:47:52 +0800 Message-ID: In-Reply-To: <4bf80e3a-ada7-942b-5bc1-2a1d2fee17c8@intel.com> List-Id: --===============0457901711805146005== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Thu, Mar 24, 2022 at 6:40 PM Chen, Rong A wrot= e: > > > > 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 no= te. > >>>> 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-hug= etlb_free_vmemmap-sysctl/20220323-205902 > >>>> base: https://github.com/hnaz/linux-mm master > >>>> config: arc-randconfig-r043-20220323 (https://download.01.org/0day-c= i/archive/20220324/202203240546.MHJzsBaO-lkp(a)intel.com/config) > >>>> compiler: arc-elf-gcc (GCC) 11.2.0 > >>>> reproduce (this is a W=3D1 build): > >>>> wget https://raw.githubusercontent.com/intel/lkp-tests/mas= ter/sbin/make.cross -O ~/bin/make.cross > >>>> chmod +x ~/bin/make.cross > >>>> # https://github.com/0day-ci/linux/commit/64211be650af1178= 19368a26d7b86c33df5deea4 > >>>> git remote add linux-review https://github.com/0day-ci/lin= ux > >>>> git fetch --no-tags linux-review Muchun-Song/add-hugetlb_f= ree_vmemmap-sysctl/20220323-205902 > >>>> git checkout 64211be650af117819368a26d7b86c33df5deea4 > >>>> # save the config file to linux build tree > >>>> mkdir build_dir > >>>> COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 m= ake.cross O=3Dbuild_dir ARCH=3Darc 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 su= ch 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(a)byted= ance.com/raw > >> | git apply -v > >> $ mkdir build_dir && wget > >> https://download.01.org/0day-ci/archive/20220324/202203240546.MHJzsBaO= -lkp(a)intel.com/config > >> -O build_dir/.config > >> $ COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross > >> O=3Dbuild_dir ARCH=3Darc olddefconfig prepare > >> make --keep-going CONFIG_OF_ALL_DTBS=3Dy CONFIG_DTC=3Dy > >> CROSS_COMPILE=3D/home/nfs/0day/gcc-11.2.0-nolibc/arc-elf/bin/arc-elf- > >> --jobs=3D72 O=3Dbuild_dir ARCH=3Darc 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. --===============0457901711805146005==--