From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (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 A83293A05C2 for ; Tue, 15 Sep 2026 07:55:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789458905; cv=none; b=OxzFOPbOIyl239mVw6q71Z32iaBpDDF9VFQj0QZOfTCGP1YKOgNnkQMDUKvFPcL5CNlL015SQy3WfCne20qWHymZWf7Hx0dqfhPDv14blCLmWeT3JGBStBo563b24gn8lCq8O+vnqCANjTmKbAX5DCzYjajg0Cjbr+ocS7riQ2M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789458905; c=relaxed/simple; bh=bHPzDl3KgJjXXHQBG20ROE3+zJSFT+AST8W7sa3fJgA=; h=Date:From:To:Cc:Subject:Message-ID; b=BZT688Z250aMI7BSa9cCYO6Ql285zoG1rbxOIIBocTKYZb4VJ4yRXP6mbRgghzVxBpRE48aId1oEr3PHvHjIHk7qCqitjEExzY8Y7J8fGf4ek9VvdTJzTsZYt7ixcAGGnbmsJyCJ9XMUGOpr4lua28rnnQkqPhj1FHcEC05dZGg= 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=VN/raX1K; arc=none smtp.client-ip=198.175.65.9 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="VN/raX1K" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1789458902; x=1820994902; h=date:from:to:cc:subject:message-id; bh=bHPzDl3KgJjXXHQBG20ROE3+zJSFT+AST8W7sa3fJgA=; b=VN/raX1K47YJzxlll41yumypHfMRs68AgPIrRC3l4hsoik44mMOgkifE y94zI0t/N78IzFWOZ5VROVySWe5MIZvK7AVzin3A0lwgQ7sXWUU7hKP7S WzUu53BdLUZ29JQQ1MaaQs/5Wyh8DMvYYADP7mTDvkK8zPKyE+YEuPhot KCDKmEtyylMrP5sJl2G5iabPVwM31igYqWvVjsjdCvAVoHmx3MTAKLnJv dMe+KJKV9YLLzYok7e2zcIRRMYXQ9e9Y7t4OLlOHQiqJmHgsbMUB4/A1I yoQ5QytUSGWskdyfv1Y8lfG3N504QHeGZTVcXvc/CkEqCYfS4Impubt8Y w==; X-CSE-ConnectionGUID: Dn2mAOlpS12n23vIiNELkA== X-CSE-MsgGUID: zwKnvtdLRCmpzJElPwYPjg== X-IronPort-AV: E=McAfee;i="6800,10657,11905"; a="112582052" X-IronPort-AV: E=Sophos;i="6.27,103,1787036400"; d="scan'208";a="112582052" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2026 00:54:52 -0700 X-CSE-ConnectionGUID: vPEX1wb+SN+Hge5Vi+DtPA== X-CSE-MsgGUID: NezezdmcQu+/rO7NQ7uZ8A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,103,1787036400"; d="scan'208";a="270256143" Received: from igk-lkp-server01.igk.intel.com (HELO 71151d66d536) ([10.211.93.152]) by fmviesa008.fm.intel.com with ESMTP; 15 Sep 2026 00:54:50 -0700 Received: from kbuild by 71151d66d536 with local (Exim 4.98.2) (envelope-from ) id 1x6O07-000000000XT-3CmD; Tue, 15 Sep 2026 07:54:47 +0000 Date: Tue, 15 Sep 2026 09:54:33 +0200 From: kernel test robot To: Gregory Price Cc: oe-kbuild-all@lists.linux.dev Subject: [gourryinverse:scratch/gourry/managed_nodes/rfc6-complete 8/67] mm/page_alloc.c:7386:3: error: call to undeclared function 'folio_test_clear_young'; ISO C99 and later do not support implicit function declarations Message-ID: <202609150910.XEnCiVDk-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: tree: https://github.com/gourryinverse/linux scratch/gourry/managed_nodes/rfc6-complete head: 0423df59f3f085592c3ff59834eeae067ee75158 commit: 4af770f6b4623768abd534b154c6d8136f601cac [8/67] mm/page_alloc: let alloc_contig_range() try harder config: i386-randconfig-051-20260915 (https://download.01.org/0day-ci/archive/20260915/202609150910.XEnCiVDk-lkp@intel.com/config) compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260915/202609150910.XEnCiVDk-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/202609150910.XEnCiVDk-lkp@intel.com/ All errors (new ones prefixed by >>): >> mm/page_alloc.c:7386:3: error: call to undeclared function 'folio_test_clear_young'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 7386 | folio_test_clear_young(folio); | ^ mm/page_alloc.c:7386:3: note: did you mean 'folio_test_clear_lru'? include/linux/page-flags.h:548:2: note: 'folio_test_clear_lru' declared here 548 | TESTCLEARFLAG(LRU, lru, PF_HEAD) | ^ include/linux/page-flags.h:468:48: note: expanded from macro 'TESTCLEARFLAG' 468 | #define TESTCLEARFLAG(uname, lname, policy) \ | ^ include/linux/page-flags.h:430:29: note: expanded from macro '\ FOLIO_TEST_CLEAR_FLAG' 430 | static __always_inline bool folio_test_clear_##name(struct folio *folio) \ | ^ :158:1: note: expanded from here 158 | folio_test_clear_lru | ^ 1 error generated. vim +/folio_test_clear_young +7386 mm/page_alloc.c 7363 7364 /* 7365 * ACR_FLAGS_RECLAIM: evict the folios in [@start, @end) that migration could 7366 * not move. Ages them down first so reclaim does not decline on the strength 7367 * of a recent reference -- the caller is not asking for a hint. 7368 * 7369 * Return: pages reclaimed. 7370 */ 7371 static unsigned long contig_range_reclaim(unsigned long start, unsigned long end) 7372 { 7373 unsigned long pfn = start, reclaimed = 0, isolated = 0; 7374 LIST_HEAD(folio_list); 7375 7376 while (pfn < end) { 7377 struct folio *folio = contig_get_lru_folio(pfn); 7378 7379 if (!folio) { 7380 pfn++; 7381 continue; 7382 } 7383 pfn += folio_nr_pages(folio); 7384 7385 folio_clear_referenced(folio); > 7386 folio_test_clear_young(folio); 7387 if (!folio_isolate_lru(folio)) 7388 goto put; 7389 if (folio_test_unevictable(folio)) { 7390 folio_putback_lru(folio); 7391 } else { 7392 list_add(&folio->lru, &folio_list); 7393 isolated += folio_nr_pages(folio); 7394 } 7395 put: 7396 /* isolation took its own reference; drop the lookup's */ 7397 folio_put(folio); 7398 7399 if (isolated >= CONTIG_RECLAIM_BATCH) { 7400 reclaimed += reclaim_pages(&folio_list); 7401 isolated = 0; 7402 cond_resched(); 7403 if (fatal_signal_pending(current)) 7404 break; 7405 } 7406 } 7407 reclaimed += reclaim_pages(&folio_list); 7408 7409 return reclaimed; 7410 } 7411 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki