Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp41031lqd; Tue, 23 Apr 2024 13:58:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW9pfHGIaVt4m2q4YqRHhRXN/3UIamtPZ4p5RuZ0+9/zJOEmHrMZFKlty22CkwB5X5AFnshul9Yy6fJOIsKtbdQ9tauqPJzyQfMNCrl2g== X-Google-Smtp-Source: AGHT+IF6NMCUHg14pIot2BooH6+rubs4mewi5l2OUgT68CCJ7NcWAZoIHulRn0JoC46c33j4+/cH X-Received: by 2002:adf:f142:0:b0:34b:70c5:3c3 with SMTP id y2-20020adff142000000b0034b70c503c3mr285624wro.15.1713905938663; Tue, 23 Apr 2024 13:58:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713905938; cv=pass; d=google.com; s=arc-20160816; b=y9fd/LXfdC3U/XmvDLJ3I9U8vNrwZVj0K8ASPvkBMscewIV9/MW239gmrcw6Z8UIW/ AkhxGQKBk7BTwzVLIle7ki2kn2U4GpLV1ZaPSi8KgXXN4iwOfy/o6dvDEnLaNG2d2nxU X06zd39EGt/e99gG+DqmNTc0HKaxMSkGTF7LVI5mmzlJPaBZjwQNd9kD58sijvKBdDMx YS1vTbvQbcT8Ila+kZhFbB1tqRXwo6shFWWWHR9GhCWjCNlThdoTX0eRgeg/2BL7Kjdq UEJ7OnKvG3hvVAMZ7nDzkI2oq1JACiW+hiCE6oqwcTk+SvW9rAaq4qp13oHAhSj5yqqJ 62Yw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+vkyUyTxv3DFQyfOLRop+lDHCloag9FjyZIHuEcfYxk=; fh=GVlXmLQtMPovmqUaO5Wlc/NAOP/nVU2+Z25ha6IqUMA=; b=B+iVgrxsFInKCY/y6WWde0bqoITHXdkwf2YXO0z/FkiQ7q4J0vKNhK2POrhwdyrJBt US58p9JN6kkVvQRPKjgSa+c1Eb0w+YUerg5oSX7IgYmFcqnIDl95Q41kgjlgzJFkNYv6 IIBYIRY4zwHcDK1UaF1nFsgny7Z2wircl4LIB4JqxSlW24InE/mPa7U/SjIxyVDQxDR+ UqSaRHfP3lOFqMN+vwc3J/tSkJVGaLYKOvtR7dpO37nB9zLl9VSsjRCDyRnqlnsX5TGU GitFwO4aqM3G2qrBzgnIEESPLds/fes/mVs1o6N80tuQlj9tnBJ2YL2AJ5IZe2KiJyRi mygw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=F74bQ2WI; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-155897-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155897-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gn37-20020a1709070d2500b00a5575f7435dsi7881545ejc.748.2024.04.23.13.58.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 13:58:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155897-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=F74bQ2WI; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-155897-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155897-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3C0BB1F2542F for ; Tue, 23 Apr 2024 20:58:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8A41142E83; Tue, 23 Apr 2024 20:58:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="F74bQ2WI" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 655C720B3E for ; Tue, 23 Apr 2024 20:58:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713905930; cv=none; b=elKbeAUvpJSWxf5q159y7GReiGTcyAcggELBartj8Kz2A4zGnQ53znQvbJT24j7LOo64ZKS8KqLgxSYkLrhJJygSwjzOG0bdzL7qD5P+n4T75rxWdfbhPgM67vuym/HAv83EwieWYZRIvbn5seAd7nNIwabpdu0hsaPMJeQAs5c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713905930; c=relaxed/simple; bh=Qy4sdg29Juz2GTiSo4BncU5Hy/MIfwj3g5FQMQmTjtA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hyoDBpIfmnCOgpiQP3GtSKLfEbopOZ0BLq42rCYamlj35foibAo56unkZ+5v2XMSFs5Yxt4By29w7eg1NhRGucqXvzbdqCitLS9aMg7qkTCtX5Yei86moqHc26fqJ4P2wkOy/bcu0YvtIWqk4yJBa0w2ta1qPTKbzsnm9taUuiY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=F74bQ2WI; arc=none smtp.client-ip=192.198.163.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713905927; x=1745441927; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Qy4sdg29Juz2GTiSo4BncU5Hy/MIfwj3g5FQMQmTjtA=; b=F74bQ2WIIFPwoWGUhhq54nrnXQIjaV62+JV43E4geArTDqLkpA1+23KP 5QuHek90L7xkB8AZBwcQ/UhBxm7TlPaMY1rQDuQSp2I75/J7NFHaxh1DB ZdItjNImFvNrCqFxVCdNPbkGhSROnOgYY2HObDO/7LZz7PBneDo56AH45 MvH4NbLk/6GQF4DXruz+67gROqercIOIvqCupRZTLMzgAf3bydfDMHrqq UL04z9poEScS6xkkXmoSEIAmyeP5pO47BKgMtVUKE+5IKdQWeVlLkibl0 hpbiPVLP7IJFaH8ElpBjerq7KxOF/4GSIJ+2nuWUPpX/HhhFnWhckcM6y Q==; X-CSE-ConnectionGUID: DBKSOe76QCe0LQ7frn74iA== X-CSE-MsgGUID: vaiyk846QLuFjhjAfzco6g== X-IronPort-AV: E=McAfee;i="6600,9927,11053"; a="20919132" X-IronPort-AV: E=Sophos;i="6.07,222,1708416000"; d="scan'208";a="20919132" 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240423051826.791934-3-shakeel.butt@linux.dev> 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