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 0E4B7C433F5 for ; Mon, 28 Feb 2022 17:37:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 34A378D0007; Mon, 28 Feb 2022 12:37:21 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2AE2C8D0001; Mon, 28 Feb 2022 12:37:21 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 08A4C8D0007; Mon, 28 Feb 2022 12:37:20 -0500 (EST) 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 E3B768D0001 for ; Mon, 28 Feb 2022 12:37:20 -0500 (EST) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay12.hostedemail.com (Postfix) with ESMTP id BCCC412084D for ; Mon, 28 Feb 2022 17:37:20 +0000 (UTC) X-FDA: 79192895040.02.92329BB Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by imf13.hostedemail.com (Postfix) with ESMTP id D195820010 for ; Mon, 28 Feb 2022 17:37:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646069840; x=1677605840; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=YtFAYAFND6XX0wPXuY5rYg2LX5oHVkQyEKvx0qDeeZw=; b=O/YGovhtflP3c9B1cwFn1XVBrPJVZ2tJbGMc4KcQPIv2gNW5qf/UcOTB 85oNans0lY53Tk+3NeZtCWa2DyzP5I+eFMrvR04PTM8z9XA9qFyGImJBE kSM82Fy0686h6Zs7XpqBAH1FwEUDf6NMfT6gue8cPJZQ1AkqQgrNYCOm9 VXL5XcWOh61bX+UGis6YaPFJlJYMS29SUPlQpJu1L/hAE3lSyB/5TDtRK lGlmNl54vTAuVK6a3L7tXPQb+VZ3XPHAhwbVX36xqKh8hlMdxGe8Ptax6 ycCxYhnAHwBuw81W+stpfMaVdm7NFeJGxlrkItflZf1AXiJKJ32CGv5sV A==; X-IronPort-AV: E=McAfee;i="6200,9189,10272"; a="316154513" X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="316154513" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2022 09:37:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="608524901" Received: from lkp-server01.sh.intel.com (HELO 788b1cd46f0d) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 28 Feb 2022 09:37:15 -0800 Received: from kbuild by 788b1cd46f0d with local (Exim 4.92) (envelope-from ) id 1nOjxS-0007cY-Mj; Mon, 28 Feb 2022 17:37:14 +0000 Date: Tue, 1 Mar 2022 01:37:10 +0800 From: kernel test robot To: Muchun Song , corbet@lwn.net, mike.kravetz@oracle.com, akpm@linux-foundation.org, mcgrof@kernel.org, keescook@chromium.org, yzaikin@google.com Cc: kbuild-all@lists.01.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, duanxiongchun@bytedance.com, Muchun Song Subject: Re: [PATCH 3/3] mm: hugetlb: add hugetlb_free_vmemmap sysctl Message-ID: <202203010141.TqyZvdm5-lkp@intel.com> References: <20220228071022.26143-4-songmuchun@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220228071022.26143-4-songmuchun@bytedance.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: D195820010 X-Stat-Signature: 1xsr87jrecf8b74pop57j7pcz6d8ceu6 Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="O/YGovht"; spf=none (imf13.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.100) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1646069839-638698 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: Hi Muchun, Thank you for the patch! Yet something to improve: [auto build test ERROR on hnaz-mm/master] [also build test ERROR on next-20220225] [cannot apply to mcgrof/sysctl-next linus/master v5.17-rc6] [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/20220228-151303 base: https://github.com/hnaz/linux-mm master config: x86_64-randconfig-c022 (https://download.01.org/0day-ci/archive/20220301/202203010141.TqyZvdm5-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/a2a3193fd949ff24ed0c138ef495e67373839483 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Muchun-Song/add-hugetlb_free_vmemmap-sysctl/20220228-151303 git checkout a2a3193fd949ff24ed0c138ef495e67373839483 # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): mm/hugetlb_vmemmap.c: In function 'hugetlb_vmemmap_sysctl_handler': >> mm/hugetlb_vmemmap.c:156:55: error: 'memmap_on_memory' undeclared (first use in this function) 156 | if (write && (!is_power_of_2(sizeof(struct page)) || memmap_on_memory)) | ^~~~~~~~~~~~~~~~ mm/hugetlb_vmemmap.c:156:55: note: each undeclared identifier is reported only once for each function it appears in vim +/memmap_on_memory +156 mm/hugetlb_vmemmap.c 148 149 int hugetlb_vmemmap_sysctl_handler(struct ctl_table *table, int write, 150 void *buffer, size_t *length, loff_t *ppos) 151 { 152 /* 153 * The vmemmap pages cannot be optimized if a "struct page" crosses page 154 * boundaries or memory_hotplug.memmap_on_memory is enabled. 155 */ > 156 if (write && (!is_power_of_2(sizeof(struct page)) || memmap_on_memory)) --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org