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 47159E77188 for ; Sat, 21 Dec 2024 02:36:53 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AAD476B0083; Fri, 20 Dec 2024 21:36:52 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A5CE06B0088; Fri, 20 Dec 2024 21:36:52 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 924036B0089; Fri, 20 Dec 2024 21:36:52 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 743D86B0083 for ; Fri, 20 Dec 2024 21:36:52 -0500 (EST) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id E6BEA4545A for ; Sat, 21 Dec 2024 02:36:51 +0000 (UTC) X-FDA: 82917402078.06.EC1E148 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) by imf13.hostedemail.com (Postfix) with ESMTP id 3197C20009 for ; Sat, 21 Dec 2024 02:36:14 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=JJtNgSkn; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf13.hostedemail.com: domain of lkp@intel.com designates 192.198.163.18 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1734748593; a=rsa-sha256; cv=none; b=FL4Bql7lyd/WV6HHSSQY/18fHunRPUsiF4HP5w/fWJKGTRM+uzI+F1rrylCLwHgjKnleHd WY6dGRjc8XJfjKTlWxdePaVqHo4F0pzqibHm6ApZCcwbg55cJsYY0FNozE/ki0zIbmQ2D3 bPuWk3vtv4gNbYOo37/sptBFKtMsBZc= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=JJtNgSkn; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf13.hostedemail.com: domain of lkp@intel.com designates 192.198.163.18 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1734748593; 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=lKKGq+mstEr19a6mznd2Nz8GqfeYS6Hx11BYMbKp908=; b=sGymmg3It8m/vAvLn+fzJ9G8oSRCJ0U0r4H9lbQjzT/itKsPLHftaf7UxkIrwASQ4SSr2s 4DwqKAkPH0j3MsaMeKVsoatOCTcJtUU6IVLUXuXA3Xz8xQPnUEIu1yce4TuZSA8KimoPD+ PZOwkYF+6d38hVpPEZyzSE2KyHhzycU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1734748609; x=1766284609; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=WdZM0GfGSN2UUn+BEAxxdyQZqk0ypzsGVOoLzQK4Avk=; b=JJtNgSknXht/CGyRkf11K5WoczVK9kB67RhyOjPpFRtmDaIx0UbUOmtU NtWdFkX1NWtokW3kcryF8RNg5/1Y3Znam5yWmec56kdYD8qpTjC2hod74 cXwWdmSb+mfWUq/eQt8bpIKAh2rH5BYtF9JSsKG0uOoIsLa+Qua2mDkLm dPutMMYeIEYZjNUKSVnpfi9KIiamNvPLZWB9G18GHSv7+6sknDndxBCQt sTyS2mzZKv5nEox6e6vpIcLvaX7gVF6RG4H/9TmmdEoPsNN9c+mBqqgOS byidwX1p6D3VkWSIS68ssAbHYobhb872UVG33HaoXpCCgS7lQMBvXlJDI Q==; X-CSE-ConnectionGUID: Vs6kiasUQ++BtSBmWOMNxg== X-CSE-MsgGUID: hvFd5B6JQHuWk6LIayalBA== X-IronPort-AV: E=McAfee;i="6700,10204,11292"; a="34622119" X-IronPort-AV: E=Sophos;i="6.12,252,1728975600"; d="scan'208";a="34622119" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2024 18:36:47 -0800 X-CSE-ConnectionGUID: YdLfPWEpS3OkH9vLPiVpMg== X-CSE-MsgGUID: MMYOyeO9S5WViMDJD0AkHg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="99514935" Received: from lkp-server01.sh.intel.com (HELO a46f226878e0) ([10.239.97.150]) by orviesa008.jf.intel.com with ESMTP; 20 Dec 2024 18:36:44 -0800 Received: from kbuild by a46f226878e0 with local (Exim 4.96) (envelope-from ) id 1tOpM9-0001rt-0N; Sat, 21 Dec 2024 02:36:41 +0000 Date: Sat, 21 Dec 2024 10:35:45 +0800 From: kernel test robot To: Chen Ridong , akpm@linux-foundation.org, mhocko@suse.com, hannes@cmpxchg.org, yosryahmed@google.com, yuzhao@google.com, david@redhat.com, willy@infradead.org, ryan.roberts@arm.com, baohua@kernel.org, 21cnbao@gmail.com, wangkefeng.wang@huawei.com Cc: oe-kbuild-all@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org, chenridong@huawei.com, wangweiyang2@huawei.com, xieym_ict@hotmail.com Subject: Re: [PATCH -next v5] mm: vmscan: retry folios written back while isolated for traditional LRU Message-ID: <202412211023.UIBZqNFK-lkp@intel.com> References: <20241220010931.3603111-1-chenridong@huaweicloud.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241220010931.3603111-1-chenridong@huaweicloud.com> X-Rspam-User: X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 3197C20009 X-Stat-Signature: p7aimkecok8pzkg8wpdre3ahqq5s9ujm X-HE-Tag: 1734748574-877248 X-HE-Meta: U2FsdGVkX18BbvxSpRoQloM+mvhUGWPKpxAWhknVyKsU3ijc7/0jXiQbYgfLOKMK3WycpaFfsBwilynt4OZwCF+YW4+QXFZM14nHOXHIqpja3pYz/H1PiVUyzIDnujCktj4WoPqqyzcBo1cxm6RNLJSy7FsK7xNr2xVA68sUVVmE9Lanxy5RS+7VCNgu4YioKz9jOSJcCr45jSB3TZ7NF1VR8/USI+IvYmV6o9AqGp7aTYGEnSxmAfC2B7V1mxWhGrBiL7n49HDO5wTVHOoklN4POSfOxgLPEM6Mk6Yg17gCqK12OCc0sJNLRSe9Eg5x3ub640v/KEPoE5tCeRMvghg7C1n2iYEYzV2vx85eDYj6PxM3FdOMnIVgB7i54iSr3qttqH3Tg66+ikIJ/XHd4xDJmbQOijwHLh+G5mx75jdKMp+PChV18BBEoxnNyay/MakTSklkfWDfVMSYEKv+ScUQIierMWA6ywcmzcRe9j2R9N5Bm9qo+QpKuvv0y0XHphAOrmdjb9UGdYfKGAp/WeoslEUkqXCSbnGNPSILrcdqUoIJzRfxGO8MWdn194gNFPfrpF51bALOeHkC4BghBnRD4jQg0eQwkiYztlAWrqE5+RBafsiiiYlK8thP28VVBKLrjKE6MbtdQCbnJQGEyVb/7HHLwD/sRKPMNcPawWs19YOsrlRVN3OPZ9YEwPwzmraRNDfMRSMjbV4ioLGH2B2AUIkN1gfPfsXN457h1Eis4vDXT+LGjbrwoIPDQ04axZoBITigSioeLQc6pdj3R0dLwjWG0NO5ramloGpXCWzkLzZRiyVxU8KFRNrCyOuPsYbjcwycz8AY8fw528tuFc6xSqscG5hqfJi2JpsHJaGeAeiTyx+XjualCkYyGsFdeZnUpalgKxO5CEokzYqKhKScbSfNyZFlFbw/pWGAN7Iu2raulk3l4NwcqHwwcMD1DMV21hHLF3/Ng3QKlxF WvX7EhHe adNhIR2zHdpI3yjruMyH3GEY3bmm8dJZW2mZPlR1WtXktDTyBe9blddKY2mJ3Z1D3RFUKPp1NEA69n+LolYPPt9DtgP4x4FZgqrWiCUKRgdS4ElRWGl9vTSF8X2QSof9d1qSPi9SRbUpAYUhLov0wlsy2TjrbvmEAhmUwBdof3aOy4aeaCgwmVFnq/yquu+/INpQwDWIBx3Bhi9c6nufOtKCqm9p6/6L+AaypVAWDFFfoErgSJlFuZZZCyQz8EGsA13g0rN4i6+fSc7t0wzRmz7RvMQMoBpIZquYAyQIx3inbLJ2B3oKSfkvNx7FgRytMtG3uBI/1d1kbzLUCl99Rr0EZ6a7+J5iH+3bJ 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 Chen, kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/Chen-Ridong/mm-vmscan-retry-folios-written-back-while-isolated-for-traditional-LRU/20241220-092147 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20241220010931.3603111-1-chenridong%40huaweicloud.com patch subject: [PATCH -next v5] mm: vmscan: retry folios written back while isolated for traditional LRU config: i386-buildonly-randconfig-003-20241220 (https://download.01.org/0day-ci/archive/20241221/202412211023.UIBZqNFK-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241221/202412211023.UIBZqNFK-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/202412211023.UIBZqNFK-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/migrate.h:8, from mm/vmscan.c:42: include/linux/hugetlb.h:1063:5: warning: no previous prototype for 'replace_free_hugepage_folios' [-Wmissing-prototypes] 1063 | int replace_free_hugepage_folios(unsigned long start_pfn, unsigned long end_pfn) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mm/vmscan.c: In function 'find_folios_written_back': >> mm/vmscan.c:313:43: error: implicit declaration of function 'lru_gen_distance'; did you mean 'node_distance'? [-Werror=implicit-function-declaration] 313 | if (lru_gen_enabled() && !lru_gen_distance(folio, false)) | ^~~~~~~~~~~~~~~~ | node_distance cc1: some warnings being treated as errors vim +313 mm/vmscan.c 285 286 /** 287 * find_folios_written_back - Find and move the written back folios to a new list. 288 * @list: filios list 289 * @clean: the written back folios list 290 * @is_retried: whether the list has already been retried. 291 */ 292 static inline void find_folios_written_back(struct list_head *list, 293 struct list_head *clean, bool is_retried) 294 { 295 struct folio *folio; 296 struct folio *next; 297 298 list_for_each_entry_safe_reverse(folio, next, list, lru) { 299 if (!folio_evictable(folio)) { 300 list_del(&folio->lru); 301 folio_putback_lru(folio); 302 continue; 303 } 304 305 /* retry folios that may have missed folio_rotate_reclaimable() */ 306 if (!is_retried && !folio_test_active(folio) && !folio_mapped(folio) && 307 !folio_test_dirty(folio) && !folio_test_writeback(folio)) { 308 list_move(&folio->lru, clean); 309 continue; 310 } 311 312 /* don't add rejected folios to the oldest generation */ > 313 if (lru_gen_enabled() && !lru_gen_distance(folio, false)) 314 set_mask_bits(&folio->flags, LRU_REFS_FLAGS, BIT(PG_active)); 315 } 316 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki