From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA4382702BF for ; Fri, 28 Feb 2025 18:28:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740767290; cv=none; b=aGOUO5sHQ/E2U5H68BiQTCcuGwb20YDs3Ha87mrW0kMkFHDzt0tlskI0XNz/tL3ho6lp6bI3c1VPyvXnoqpOKtE3muE+9+QNa00d9IF5nafXbr219rLkzqMwNbWYpjfaoNnNfQNr8/CvpPs5mtv/lsTLeEUuJY959UMFYMFUJjc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740767290; c=relaxed/simple; bh=RfYd5Dgh4U3T5nzqDGGI2aUFj1w3UMgwy0swiuP8Yy8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=j9qKMCukhPseJ55Bdmp1RbOth3gjmn4D4UlzWVt68dm9tUDFn40CRfpdK4X8zO8Z1duSp15VdVA3NVuJ+WrBSI8NRjNPbGMWInFWkZZFZpuS/hfUPjwyIsMLGaT5lYtak9IxYlf/0Z1yeOXijt8FTSXbWqExlIGvIa307MPiKiM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cmpxchg.org; spf=pass smtp.mailfrom=cmpxchg.org; dkim=pass (2048-bit key) header.d=cmpxchg-org.20230601.gappssmtp.com header.i=@cmpxchg-org.20230601.gappssmtp.com header.b=y+TcNNOd; arc=none smtp.client-ip=209.85.219.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cmpxchg.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cmpxchg.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cmpxchg-org.20230601.gappssmtp.com header.i=@cmpxchg-org.20230601.gappssmtp.com header.b="y+TcNNOd" Received: by mail-qv1-f43.google.com with SMTP id 6a1803df08f44-6e895f3365aso18543436d6.0 for ; Fri, 28 Feb 2025 10:28:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20230601.gappssmtp.com; s=20230601; t=1740767286; x=1741372086; darn=lists.linux.dev; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=D1HeI5Hj5FdgZC1kQ9hnOVpQk/bjqVhL1cfDe9mBVxU=; b=y+TcNNOdB3VP00zhJbGGUXJMKjeedbCNFXIf0jmytIDM0Qq4r3rqrGJQFpJLyX6k/A l/el4f+SE72hULBdQ5txKSbGWbb8+JNnF0Dfjlxa+KCwpcGmqhWWcaNvL3aG4ag2YSNe 2ouytV+IKgnp7fLtBHlW4UYOdbJsPnxWogYzkFgpBOQpHIUyCddT1N1ySYVEW7ExHjoC 3pJSFqGH0YxJvdRt/WVLr9KrAn2svBPbqhhZHlPsNTQMHUrrF11W9wR8MDPcluQ4zbq0 XnITVvRZBasQgYeF4U0Sgc4cxsxQAkO8O/hkdrQiLTCd9VWAQ1xn6FpGkBtt+yY0+4R6 ZF3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740767286; x=1741372086; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=D1HeI5Hj5FdgZC1kQ9hnOVpQk/bjqVhL1cfDe9mBVxU=; b=fn9TpHfdLB0Ngr4+L5ihjwH6zxuAjVHEj7gXHMeM2j24gt7Tii46AqZDSukx1hYndM Q+Zko2BsAtyZZ8MMwyaKnT0nVi1LX+uJjFmpw7VFYIVvY1g6kL3bvpyobr2KtP5Qg/NG oMU4OJLF8nj7VgmhUBpoU4FTaexvx+ftIUFKuZhvqNouBs1kAdf2K2icrbfv1whPgHIw 3J1XlWdgkSa1N7C2ynkfJshCuwT6qkbd+vAQfDROYLAx8Ik0Sr05F8LOumoDjPQGGP8L UG/sSTVFL2Fvdl/WLeY67DYPIBbGdai+GFFIM4AI5gyL4Al0m2FUGEUI0T34qX+U5MNj WAEg== X-Forwarded-Encrypted: i=1; AJvYcCXicsuXIiFePpcNT3OTwPdt8hXX7Bm1J87GqihXoqk5LpyQa72wdGmUl+DuzHWCYQZzQ8mr@lists.linux.dev X-Gm-Message-State: AOJu0YwUeS/2CLF7FojgZv3Jv9Yn7lAB6hStkJEdijTwqHWWl0bmEBym OxS0raESDDbusAzMhvDymk4a/WJPEjdys5xINhhhl16cBtM0TWoX0rmgSY6Vw54= X-Gm-Gg: ASbGnctgkN3V59289D9+xqvOQ4zaVHst0YTzwQq45PtPqkdSYJrb9xZPK4HNegABRUK o+fOr4XpQz7niwj1C/6IiNi8mEinB7Bj+HxYheUWnZkKSE64X2jRxWIaJRgkFKfpTH5smLlgRFY 2FWJZ+IL5rBFBVX0901D22n/wr+Ly2At+eObazI2jdKxwIWSw3BNIW55IPPpo1hBZyUuP4kS6Uo EYs2UBN10NK6dels03ab4RzC+ubszzVnwscFTx8aesuoiYUxf9lZULy5a9qH6Z1HNBtVT56+7Of UC+m3xfhr5wcxF6DND8Is1zy X-Google-Smtp-Source: AGHT+IGs6srUxnr6AWXxdYbrfmwZOp03iNYHFv1+6TtdPkGxEDbRLb7+2Svam+kAW+1eMjMaYvZVrA== X-Received: by 2002:ad4:5ba3:0:b0:6e6:684f:7f6f with SMTP id 6a1803df08f44-6e8a0cd3ed4mr73143116d6.7.1740767286445; Fri, 28 Feb 2025 10:28:06 -0800 (PST) Received: from localhost ([2603:7000:c01:2716:da5e:d3ff:fee7:26e7]) by smtp.gmail.com with UTF8SMTPSA id 6a1803df08f44-6e8976ccbacsm24682146d6.93.2025.02.28.10.28.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Feb 2025 10:28:05 -0800 (PST) Date: Fri, 28 Feb 2025 13:28:04 -0500 From: Johannes Weiner To: kernel test robot Cc: Brendan Jackman , Andrew Morton , David Hildenbrand , Oscar Salvador , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Vlastimil Babka , linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/page_alloc: Add lockdep assertion for pageblock type change Message-ID: <20250228182804.GB120597@cmpxchg.org> References: <20250227-pageblock-lockdep-v1-1-3701efb331bb@google.com> <202503010129.rJvGqZN1-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202503010129.rJvGqZN1-lkp@intel.com> On Sat, Mar 01, 2025 at 01:31:30AM +0800, kernel test robot wrote: > Hi Brendan, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on d58172d128acbafa2295aa17cc96e28260da9a86] > > url: https://github.com/intel-lab-lkp/linux/commits/Brendan-Jackman/mm-page_alloc-Add-lockdep-assertion-for-pageblock-type-change/20250228-002107 > base: d58172d128acbafa2295aa17cc96e28260da9a86 > patch link: https://lore.kernel.org/r/20250227-pageblock-lockdep-v1-1-3701efb331bb%40google.com > patch subject: [PATCH] mm/page_alloc: Add lockdep assertion for pageblock type change > config: x86_64-buildonly-randconfig-002-20250228 (https://download.01.org/0day-ci/archive/20250301/202503010129.rJvGqZN1-lkp@intel.com/config) > compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250301/202503010129.rJvGqZN1-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/202503010129.rJvGqZN1-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > In file included from mm/page_alloc.c:19: > In file included from include/linux/mm.h:2302: > include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" > | ~~~~~~~~~~~ ^ ~~~ > In file included from mm/page_alloc.c:44: > include/linux/mm_inline.h:47:41: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 47 | __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages); > | ~~~~~~~~~~~ ^ ~~~ > include/linux/mm_inline.h:49:22: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 49 | NR_ZONE_LRU_BASE + lru, nr_pages); > | ~~~~~~~~~~~~~~~~ ^ ~~~ > >> mm/page_alloc.c:421:3: error: call to undeclared function 'in_mem_hotplug'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] > 421 | in_mem_hotplug() || The patch is missing a dummy in_mem_hotplug() in the !CONFIG_MEMORY_HOTPLUG section of .