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 35A5EC4345F for ; Tue, 23 Apr 2024 20:58:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8ADD96B0184; Tue, 23 Apr 2024 16:58:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8366E6B0185; Tue, 23 Apr 2024 16:58:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6D7176B0186; Tue, 23 Apr 2024 16:58:51 -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 4C2996B0184 for ; Tue, 23 Apr 2024 16:58:51 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id BB16A40462 for ; Tue, 23 Apr 2024 20:58:50 +0000 (UTC) X-FDA: 82042010820.05.2652743 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by imf18.hostedemail.com (Postfix) with ESMTP id 18D661C000D for ; Tue, 23 Apr 2024 20:58:47 +0000 (UTC) Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="Y1kvPI/C"; spf=pass (imf18.hostedemail.com: domain of lkp@intel.com designates 192.198.163.10 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=1713905928; 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=+vkyUyTxv3DFQyfOLRop+lDHCloag9FjyZIHuEcfYxk=; b=HGdyjZNFHKdOtXCgOhUMoMegUhwO9YZ4VEZSOOyoyPS1TtDXevR3idZWHqMEDV6JOZr+lU PrC7a+Z3rnOc/UGNrfQshDz0YUXCDmSQrhnV1Og/4KMnX0PSY49EnnWO8H86bT3L+ynfDL bAvca0T9HiB6vM9I5cwBqliyyQFZLLc= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="Y1kvPI/C"; spf=pass (imf18.hostedemail.com: domain of lkp@intel.com designates 192.198.163.10 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=1713905928; a=rsa-sha256; cv=none; b=O98i2YQAx0Pa0BdvHwBDT64XHhuaXWhq0lJeah/qbiysQxOezghqjbGhPuSilazQpGXzLQ JY7DqPCnIGadJa2Rvs5jaFJZ8ETsKSmktUVfsdG6rFiZSifU0DvOEgnZqtol8K2yEPCMXP 3KtSmEiJPYApiCUDuiESuvR9gkqyrz8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713905928; x=1745441928; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Qy4sdg29Juz2GTiSo4BncU5Hy/MIfwj3g5FQMQmTjtA=; b=Y1kvPI/C8Umj4uwH3WspDyt6KhZz6T32rleAlxmfcza0PGTsGQc0xoSN ljFbWX4H/UdmdpJGinqzXWBQA1R0m5c8oxSz6ZJP6u6vRLIjNK3TTAk92 VkyqcnGvBUfDmA5Zt+DCBPYF0k1CB8xMocry33TdnXQooa6vjkYtU2ndC C5d6i1qaxfi7NNEStiLD31YbWPUHjSadHXnIvMzbmOBzTBEArKDeku49d k//9GFH79oGQuhgQwUNs2Kp75sEw3fM9MpCqGqVmzS0P6e4V/tHyQotZz L36NE2NcRhTgVnli5pZQ6EgL2IZYjzuKzimUoIjB6KQ/+LgEbrdyLTXLI g==; X-CSE-ConnectionGUID: veDD/TMAR0+zhodbpDFyig== X-CSE-MsgGUID: ids+xD/wQK6DppgWITtXSw== X-IronPort-AV: E=McAfee;i="6600,9927,11053"; a="20919136" X-IronPort-AV: E=Sophos;i="6.07,222,1708416000"; d="scan'208";a="20919136" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2024 13:58:46 -0700 X-CSE-ConnectionGUID: TVdTZWOwTDejY2K5PtYvfg== X-CSE-MsgGUID: rAD7FQdgRGKbFpNCKufyng== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,222,1708416000"; d="scan'208";a="55692766" Received: from lkp-server01.sh.intel.com (HELO e434dd42e5a1) ([10.239.97.150]) by fmviesa001.fm.intel.com with ESMTP; 23 Apr 2024 13:58:44 -0700 Received: from kbuild by e434dd42e5a1 with local (Exim 4.96) (envelope-from ) id 1rzNDu-0000Wi-0j; Tue, 23 Apr 2024 20:58:42 +0000 Date: Wed, 24 Apr 2024 04:58:28 +0800 From: kernel test robot To: Shakeel Butt , Andrew Morton , Johannes Weiner , Michal Hocko , Roman Gushchin , Muchun Song Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/4] memcg: reduce memory for the lruvec and memcg stats Message-ID: <202404240415.fucxk6Ix-lkp@intel.com> References: <20240423051826.791934-3-shakeel.butt@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240423051826.791934-3-shakeel.butt@linux.dev> X-Stat-Signature: w3tnjh4qp4gttadgd8mbcagkmw97jjxj X-Rspamd-Queue-Id: 18D661C000D X-Rspamd-Server: rspam10 X-Rspam-User: X-HE-Tag: 1713905927-612546 X-HE-Me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qSem/JDqMLMOWJ3L4rCyaVO0jARn9AAQ7fcA8XPs0VwD0gN6O0eqmASof3EhDK737M1Q4xLquu2ozz0X/v34Myo/9EZM5y7kF7+uzJA9SUHeWIw5vIvASiqmXjBemZYjGj6KU5mVOzM3SsZeo/oUMtCPEltboxwVKk7A1USE3wh9b3XNSTGLFaQxjNqDP11Xia3RilCEsVYJZOdLIammAXSsfQTgg0Ij4EnQR/lVH5GHmA88Sh/KbzJpBtzGs6/+XEyl3U= 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 Shakeel, kernel test robot noticed the following build errors: [auto build test ERROR on next-20240422] [cannot apply to akpm-mm/mm-everything linus/master v6.9-rc5 v6.9-rc4 v6.9-rc3 v6.9-rc5] [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/Shakeel-Butt/mm-rearrange-node_stat_item-to-put-memcg-stats-at-start/20240423-132451 base: next-20240422 patch link: https://lore.kernel.org/r/20240423051826.791934-3-shakeel.butt%40linux.dev patch subject: [PATCH 2/4] memcg: reduce memory for the lruvec and memcg stats config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20240424/202404240415.fucxk6Ix-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240424/202404240415.fucxk6Ix-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/202404240415.fucxk6Ix-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from : In function 'memcg_stat_format', inlined from 'memory_stat_format.constprop' at mm/memcontrol.c:1707:3: >> include/linux/compiler_types.h:460:45: error: call to '__compiletime_assert_633' declared with attribute error: BUILD_BUG_ON failed: ARRAY_SIZE(memory_stats) != MEMCG_NR_STAT - 1 460 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:441:25: note: in definition of macro '__compiletime_assert' 441 | prefix ## suffix(); \ | ^~~~~~ include/linux/compiler_types.h:460:9: note: in expansion of macro '_compiletime_assert' 460 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ mm/memcontrol.c:1651:9: note: in expansion of macro 'BUILD_BUG_ON' 1651 | BUILD_BUG_ON(ARRAY_SIZE(memory_stats) != MEMCG_NR_STAT - 1); | ^~~~~~~~~~~~ In function 'memcg_stat_format', inlined from 'memory_stat_format' at mm/memcontrol.c:1707:3, inlined from 'memory_stat_show' at mm/memcontrol.c:6946:2: >> include/linux/compiler_types.h:460:45: error: call to '__compiletime_assert_633' declared with attribute error: BUILD_BUG_ON failed: ARRAY_SIZE(memory_stats) != MEMCG_NR_STAT - 1 460 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:441:25: note: in definition of macro '__compiletime_assert' 441 | prefix ## suffix(); \ | ^~~~~~ include/linux/compiler_types.h:460:9: note: in expansion of macro '_compiletime_assert' 460 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ mm/memcontrol.c:1651:9: note: in expansion of macro 'BUILD_BUG_ON' 1651 | BUILD_BUG_ON(ARRAY_SIZE(memory_stats) != MEMCG_NR_STAT - 1); | ^~~~~~~~~~~~ vim +/__compiletime_assert_633 +460 include/linux/compiler_types.h eb5c2d4b45e3d2 Will Deacon 2020-07-21 446 eb5c2d4b45e3d2 Will Deacon 2020-07-21 447 #define _compiletime_assert(condition, msg, prefix, suffix) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 448 __compiletime_assert(condition, msg, prefix, suffix) eb5c2d4b45e3d2 Will Deacon 2020-07-21 449 eb5c2d4b45e3d2 Will Deacon 2020-07-21 450 /** eb5c2d4b45e3d2 Will Deacon 2020-07-21 451 * compiletime_assert - break build and emit msg if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 452 * @condition: a compile-time constant condition to check eb5c2d4b45e3d2 Will Deacon 2020-07-21 453 * @msg: a message to emit if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 454 * eb5c2d4b45e3d2 Will Deacon 2020-07-21 455 * In tradition of POSIX assert, this macro will break the build if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 456 * supplied condition is *false*, emitting the supplied error message if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 457 * compiler has support to do so. eb5c2d4b45e3d2 Will Deacon 2020-07-21 458 */ eb5c2d4b45e3d2 Will Deacon 2020-07-21 459 #define compiletime_assert(condition, msg) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 @460 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) eb5c2d4b45e3d2 Will Deacon 2020-07-21 461 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki