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 A3734C433EF for ; Fri, 22 Apr 2022 09:48:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3876D6B0075; Fri, 22 Apr 2022 05:48:48 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 337576B007B; Fri, 22 Apr 2022 05:48:48 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1FDF76B007D; Fri, 22 Apr 2022 05:48:48 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.a.hostedemail.com [64.99.140.24]) by kanga.kvack.org (Postfix) with ESMTP id 0D18A6B0075 for ; Fri, 22 Apr 2022 05:48:48 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id CEF311078 for ; Fri, 22 Apr 2022 09:48:47 +0000 (UTC) X-FDA: 79384040694.02.4FB8C67 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by imf18.hostedemail.com (Postfix) with ESMTP id 751D51C0027 for ; Fri, 22 Apr 2022 09:48:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650620926; x=1682156926; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=vma2JAAflaYLfOe4eF4oOn15MNm91+/GB/OVlVEPwLg=; b=mdSCdcRChFUKKt9Vp707It6KTaDOAN31A9Jlv7bF2tnbfueA44EQ9v9x Vno+0pXeVVU7q2OFUGuYHVq6wOzQ1Ub2n0dAnEtNoIj9j7KKitiMnwh30 BJgNdFioDa6ZQxyEqTDcugTlJKYhvU8Oxa1MkJ2bqTDAq9xhWVC9gAHK8 FoWPO0G7rVJhLMX33GrKLsfUqB23CK4NhhCTzFrL7u/gtYbeO8/Gmvnf7 8c/Xok4mQD1YRcrMifwatVgAX+mheDWFjU+dZIHYWIsMjmJUMRylSKYEK tmAQiHT6pl9Am6X2zj4zYqZlM5MT6Zw8uMKp+hprtqSLlVLlQBeOTqatT Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10324"; a="251961958" X-IronPort-AV: E=Sophos;i="5.90,281,1643702400"; d="scan'208";a="251961958" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2022 02:48:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,281,1643702400"; d="scan'208";a="562986197" Received: from lkp-server01.sh.intel.com (HELO 3abc53900bec) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 22 Apr 2022 02:48:42 -0700 Received: from kbuild by 3abc53900bec with local (Exim 4.95) (envelope-from ) id 1nhpu5-0009zt-G7; Fri, 22 Apr 2022 09:48:41 +0000 Date: Fri, 22 Apr 2022 17:48:08 +0800 From: kernel test robot To: Song Liu , bpf@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, ast@kernel.org, daniel@iogearbox.net, kernel-team@fb.com, akpm@linux-foundation.org, rick.p.edgecombe@intel.com, hch@infradead.org, imbrenda@linux.ibm.com, mcgrof@kernel.org, Song Liu Subject: Re: [PATCH bpf 3/4] module: introduce module_alloc_huge Message-ID: <202204221700.93ehQrzU-lkp@intel.com> References: <20220422051813.1989257-4-song@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220422051813.1989257-4-song@kernel.org> Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=mdSCdcRC; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf18.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.20) smtp.mailfrom=lkp@intel.com X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 751D51C0027 X-Stat-Signature: aazk3rqs5o91im3ytztruaits4jupje8 X-HE-Tag: 1650620924-35195 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 Song, I love your patch! Yet something to improve: [auto build test ERROR on bpf/master] url: https://github.com/intel-lab-lkp/linux/commits/Song-Liu/bpf_prog_pack-and-vmalloc-on-huge-page-fixes/20220422-133605 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git master config: x86_64-randconfig-a004 (https://download.01.org/0day-ci/archive/20220422/202204221700.93ehQrzU-lkp@intel.com/config) compiler: gcc-11 (Debian 11.2.0-20) 11.2.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/8a0dfde5aef7e95487be2f6e3ff9487d79a30714 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Song-Liu/bpf_prog_pack-and-vmalloc-on-huge-page-fixes/20220422-133605 git checkout 8a0dfde5aef7e95487be2f6e3ff9487d79a30714 # save the config file mkdir build_dir && cp config build_dir/.config 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 >>): arch/x86/kernel/module.c: In function 'module_alloc_huge': >> arch/x86/kernel/module.c:100:54: error: 'VM_ALLOW_HUGE_VMAP' undeclared (first use in this function); did you mean 'VM_NO_HUGE_VMAP'? 100 | VM_DEFER_KMEMLEAK | VM_ALLOW_HUGE_VMAP, | ^~~~~~~~~~~~~~~~~~ | VM_NO_HUGE_VMAP arch/x86/kernel/module.c:100:54: note: each undeclared identifier is reported only once for each function it appears in vim +100 arch/x86/kernel/module.c 88 89 void *module_alloc_huge(unsigned long size) 90 { 91 gfp_t gfp_mask = GFP_KERNEL; 92 void *p; 93 94 if (PAGE_ALIGN(size) > MODULES_LEN) 95 return NULL; 96 97 p = __vmalloc_node_range(size, MODULE_ALIGN, 98 MODULES_VADDR + get_module_load_offset(), 99 MODULES_END, gfp_mask, PAGE_KERNEL, > 100 VM_DEFER_KMEMLEAK | VM_ALLOW_HUGE_VMAP, 101 NUMA_NO_NODE, __builtin_return_address(0)); 102 if (p && (kasan_alloc_module_shadow(p, size, gfp_mask) < 0)) { 103 vfree(p); 104 return NULL; 105 } 106 107 return p; 108 } 109 -- 0-DAY CI Kernel Test Service https://01.org/lkp