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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABEBFC433EF for ; Thu, 24 Mar 2022 10:20:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 26CE66B0072; Thu, 24 Mar 2022 06:20:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1F6C16B0073; Thu, 24 Mar 2022 06:20:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 06F546B0074; Thu, 24 Mar 2022 06:20:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.26]) by kanga.kvack.org (Postfix) with ESMTP id E54256B0072 for ; Thu, 24 Mar 2022 06:20:54 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id B3B87208B6 for ; Thu, 24 Mar 2022 10:20:54 +0000 (UTC) X-FDA: 79278886428.15.9461858 Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com [209.85.219.175]) by imf08.hostedemail.com (Postfix) with ESMTP id 9833C160030 for ; Thu, 24 Mar 2022 10:20:53 +0000 (UTC) Received: by mail-yb1-f175.google.com with SMTP id g9so5179444ybf.1 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=VPc6Q3hWbCp1DFZ3YEKiY0JtKwQPc2u/OqrHzR8rdw4N2KuEkej4Gkha8KHm7Lh2vO iL2aFmrbIAbXVvUHR8WPJ+pmY7iBbV21meRV5rOJNvcNPDSylLqdusxtxiSv5yCrNVIS 0bvkTJVxfxdxzkNmAA8JFKI3ezNUlEFI4HxI3wZ72i7dcRpE2Pamt+rI4jZfOo3xO8AU NTY4bQzrNX4AmlBtiOw/W8Kk22lqoyzlJxNztyg1UVjOj/y2yycnQJAcdvULmDhd8HgO GOBSvU7qDP9lNSVBsNV1yNGvP3jSAWjS/89gtgGdza8nMTgQd5/iXLXJ+Zgrx72rG4wH o2ig== X-Gm-Message-State: AOAM531y3Typem2nLaN6sfZEOKRLHf5q177grUdLaxKZDllu6bjk38aZ HAC/N6Y8XWV5CRhlgyoZXwDIBkeavURkz3TxiRgjRw== X-Google-Smtp-Source: ABdhPJwPfcfR+M5O4R9dVdnVq3WebHGUoiCYhSM5Bf+/TkR8Se9p66Hs9pH9OnD1qghnQG5+q/vGoPVZ/XISdQ6WsjY= 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" Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=18LkZ9Hc; spf=pass (imf08.hostedemail.com: domain of songmuchun@bytedance.com designates 209.85.219.175 as permitted sender) smtp.mailfrom=songmuchun@bytedance.com; dmarc=pass (policy=none) header.from=bytedance.com X-Rspam-User: X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 9833C160030 X-Stat-Signature: 9y753c78jn5mnhhryy5m11enz86siq3g X-HE-Tag: 1648117253-53336 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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)