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 6A708C369D7 for ; Wed, 25 Sep 2024 12:11:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0292E6B009D; Wed, 25 Sep 2024 08:11:28 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id F1B626B009E; Wed, 25 Sep 2024 08:11:27 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DE2AE6B009F; Wed, 25 Sep 2024 08:11:27 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id BDCFD6B009D for ; Wed, 25 Sep 2024 08:11:27 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 67D85140248 for ; Wed, 25 Sep 2024 12:11:27 +0000 (UTC) X-FDA: 82603145814.10.FDE0E71 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by imf20.hostedemail.com (Postfix) with ESMTP id 39AAE1C0008 for ; Wed, 25 Sep 2024 12:11:22 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=LPAe4YYd; spf=pass (imf20.hostedemail.com: domain of lkp@intel.com designates 198.175.65.12 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1727266124; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=u4BxP9yhLbDscauHwhSNAnf14susBSyCGa1YWJStUCA=; b=hmteNZRgBa1LfPMYdI0sUCSVmhyCvUQLMx5ndpJ61aWvKbiHEGBcpKQwOxEurZ52ZmPs01 XOATMzwCNfY0yqI/Z9nnk0LOIH1kESdI8sSK1RdQ2QB6y47OrS/37PrCM5XrWl4IM5MmRx bnvyQpdr4iyz9DM3/K87IlvZp+E7yZs= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=LPAe4YYd; spf=pass (imf20.hostedemail.com: domain of lkp@intel.com designates 198.175.65.12 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1727266124; a=rsa-sha256; cv=none; b=0wW4gvhXu193XaEwxB+tvacJDivDQ84lBLvun95GqsX/vmWYYdkWBb4tUzw0Wc5uZcpa1P vFEu73iMB3UzgTWI3xwCw3ZWtX14EvfLHFjOdESbIFT0ps21RStB9xalfz096dIeHiV+BG YJ8aXqSQCwqGqLPw/inDewCo60xx7qE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1727266283; x=1758802283; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=FAHKjBRAC5Qo7JGJBZ0ZwrHXhZXpLlt629eFHIHC2mQ=; b=LPAe4YYdMN4vTFAjDIpsCUHkCuxlHCjiyQQJFS9xa7a0ZiISSkixyRUA d4aLooMFYxuxoUGGZUJxIRHDuekcFR7KEGkhaym06658g3nsxXCFnBg+T +AzxKaP8nxvCvQ+Z/q5lyVfOC6MJz0TILV2AUMYzHMWV5mnWA3r34HwhU x8MtbKwKz9DO2Jy4QxL+Cwtd5D9MKsO7t3jT73ryMvMy7sZQcKmFwC3JK rxcJF1EAe/LAcnxqyCTtKLhZdVjne58DgpTdun6rY2PvVVrFkEjm2RQ9P aL3kD9krBJi4sjE0ySDiqhoUnQB6QnjWYrUA1ChcphSqsm1WTAjaOFKtj w==; X-CSE-ConnectionGUID: kOq5OWsKRPiHjGT8dV4+FA== X-CSE-MsgGUID: db0NR1YtTvyjUPV/D+NR3w== X-IronPort-AV: E=McAfee;i="6700,10204,11206"; a="37685682" X-IronPort-AV: E=Sophos;i="6.10,257,1719903600"; d="scan'208";a="37685682" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2024 05:11:22 -0700 X-CSE-ConnectionGUID: 4r2PhwDLS8+19mq24EPbKQ== X-CSE-MsgGUID: kHeJJX76TBGVdZwSVBpbjA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,257,1719903600"; d="scan'208";a="71349556" Received: from lkp-server01.sh.intel.com (HELO 53e96f405c61) ([10.239.97.150]) by fmviesa006.fm.intel.com with ESMTP; 25 Sep 2024 05:11:18 -0700 Received: from kbuild by 53e96f405c61 with local (Exim 4.96) (envelope-from ) id 1stQrT-000JXF-17; Wed, 25 Sep 2024 12:11:15 +0000 Date: Wed, 25 Sep 2024 20:10:25 +0800 From: kernel test robot To: Fangzheng Zhang , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Vlastimil Babka , Roman Gushchin , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Greg KH Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , linux-kernel@vger.kernel.org, tkjos@google.com, Fangzheng Zhang , Yuming Han Subject: Re: [PATCH 1/2] mm/slub: Add panic function when slub leaks Message-ID: <202409251929.fHee67vM-lkp@intel.com> References: <20240925032256.1782-2-fangzheng.zhang@unisoc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240925032256.1782-2-fangzheng.zhang@unisoc.com> X-Rspamd-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KksHuksQuXJ2A1Cy0mwS rMFS8rcY YRg1FswHb749XoUfxWwBf32SaM0++nk055q1PadvzIeQzlP4D/Wci120354zLEQDDWQiYh2CcQzTzcIW6om6Ir2x9GvrasjxbpjIfJ/RziOzXsBeAQFih8c7hLDDjcbv+PodopJsOcAZeoAzhw8mwnMYQJrTzgNU+ZBhvWVPHwqMygDNbIA4QdZm5lotJjaaUJWlI7la0yVhr50/7yxXSGpWTwwNyUiiCL6pN4ivjTr9pHGbwMgEHus0iLSlzdAtB9w6dDSKx+I1hEBbQmjLxoITlRGRVqefyjcaLUPoXMM66iv9Buqn2UlFr/437b/825QbmOX5JVdZ12jAUvKd5uA5j0zcaNOvj/viEEebj4QZ8cYdbXbBRk+SF7PWgBndl/sznTYvuDnSxxjhwN6QNEfHPrWy1IGXPOGa8MeS5olhkGj8ZvzqcBOiGKWAreTqPxGhMF2R1iL54jyCoiFcQbesc6XGs31EbM+nImjnfV7LEy/U= 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: List-Subscribe: List-Unsubscribe: Hi Fangzheng, kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on linus/master v6.11 next-20240925] [cannot apply to vbabka-slab/for-next] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Fangzheng-Zhang/mm-slub-Add-panic-function-when-slub-leaks/20240925-112601 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20240925032256.1782-2-fangzheng.zhang%40unisoc.com patch subject: [PATCH 1/2] mm/slub: Add panic function when slub leaks config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20240925/202409251929.fHee67vM-lkp@intel.com/config) compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240925/202409251929.fHee67vM-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202409251929.fHee67vM-lkp@intel.com/ All errors (new ones prefixed by >>): >> mm/slub.c:7354:2: error: unterminated conditional directive 7354 | #ifdef CONFIG_SLUB_LEAK_PANIC | ^ 1 error generated. vim +7354 mm/slub.c 7350 7351 /* 7352 * The /sys/module/slub ABI 7353 */ > 7354 #ifdef CONFIG_SLUB_LEAK_PANIC 7355 /* 7356 * What: /sys/module/slub/parameters/leak_panic 7357 * /sys/module/slub/parameters/leak_panic_threshold 7358 * Date: Sep 2024 7359 * KernelVersion: v6.6+ 7360 * Description: Used for slub memory leak check. When the user 7361 * successfully allocates the slub page, it also performs 7362 * statistics on the total slub usage in the system. 7363 * When the usage exceeds the set value 7364 * (threshold * memtotal / 100), it is considered that 7365 * there is a risk of slub leakage in the system at this time. 7366 * A panic operation will be triggered. 7367 * Users: userspace 7368 */ 7369 MODULE_PARM_DESC(leak_panic, "Disable/Enable slub_leak_panic"); 7370 module_param_named(leak_panic, slub_leak_panic_enabled, bool, 0644); 7371 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki