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 C8303C4167B for ; Thu, 9 Nov 2023 11:09:00 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 317F7280008; Thu, 9 Nov 2023 06:09:00 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2C8288D0073; Thu, 9 Nov 2023 06:09:00 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 18FC6280008; Thu, 9 Nov 2023 06:09:00 -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 094518D0073 for ; Thu, 9 Nov 2023 06:09:00 -0500 (EST) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id C00B9160E28 for ; Thu, 9 Nov 2023 11:08:59 +0000 (UTC) X-FDA: 81438143598.08.E1A5A62 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by imf23.hostedemail.com (Postfix) with ESMTP id 944A6140015 for ; Thu, 9 Nov 2023 11:08:56 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=A+bOnGmp; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf23.hostedemail.com: domain of lkp@intel.com designates 192.55.52.93 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=1699528137; 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=Tvpw7aLdwA+Z7NgBNWx9sETYqtU/GRYfkadlP/IUJj0=; b=LQw7BQviFW4ljCfZEpVlYgSu5uYpsyAPeoCOjgNCNLaiw4lUoFxwlVrrNm3OdS+8XX1fV+ eOGJ71uRZiqt2c4D6dge7VOfjTYAsRXorGbKQjo8yVQDaBw1YZVslKLrr0hB8vCKKi5/MZ Au6xZhcqOSX/S7jVo/vSA930M+6U/8s= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=A+bOnGmp; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf23.hostedemail.com: domain of lkp@intel.com designates 192.55.52.93 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1699528137; a=rsa-sha256; cv=none; b=fxvqJcWpwLAA2gltFqPlkn4S6QG1GjHjd/qHi7FuXJMXSoX7bU8hsZbDVCzair+wyCSX5U 4Rj6FBOs+/qW+8a5O8Ih2J9VqiXXGUPLxjdEJcdtBnbqcC9n98DbU/VlAJRjMT2BjEnQr2 C9wPha9NLDAMZ+ssPsvwIQ8eI+o8Deo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699528136; x=1731064136; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=R01ca81ioNmZ4Qa0/4lDzRiUdDaqgXI8cjnkTR00Rw4=; b=A+bOnGmp3FZWwx20SZKAa4kwQYDoX6BmdVcrqBn8xizjrAes9xzAInES bhnm36vRoKVlMa6yQjN4T68uPGCjmgLdfTyE121S9cMPwFk/IbbX7Dgi3 CigZuy+NDpxZExYVEvnJ8JKnRRSoNgW8qI5uoOh650pY01l0vPzxbpJgs XI5/0x0Rs1xXXqwnwf1sYeAoGAKlKQ0BaGbwnLwWEshdN0Y22e5TSX9JR 3Cs2ITyXpPuSER6Dc4uNGggA7VgV2uyb96k18axBEwbLy2M8Xrxnz5CUH W+R/e399OdvEL5uRnZqyp9R5B7kWICWx8LwONsx7O+lkl2UmB/FI9FBUc w==; X-IronPort-AV: E=McAfee;i="6600,9927,10888"; a="387129120" X-IronPort-AV: E=Sophos;i="6.03,289,1694761200"; d="scan'208";a="387129120" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2023 03:08:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,289,1694761200"; d="scan'208";a="4509037" Received: from lkp-server01.sh.intel.com (HELO 17d9e85e5079) ([10.239.97.150]) by orviesa002.jf.intel.com with ESMTP; 09 Nov 2023 03:08:50 -0800 Received: from kbuild by 17d9e85e5079 with local (Exim 4.96) (envelope-from ) id 1r12ty-0008g8-00; Thu, 09 Nov 2023 11:08:46 +0000 Date: Thu, 9 Nov 2023 19:08:12 +0800 From: kernel test robot To: Huan Yang , Tejun Heo , Zefan Li , Johannes Weiner , Jonathan Corbet , Michal Hocko , Roman Gushchin , Shakeel Butt , Muchun Song , Andrew Morton , David Hildenbrand , Matthew Wilcox , Huang Ying , Yosry Ahmed , Kefeng Wang , Peter Xu , "Vishal Moola (Oracle)" , Liu Shixin , Yue Zhao , Hugh Dickins , cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , opensource.kernel@vivo.com, Huan Yang Subject: Re: [PATCH 2/4] mm: multi-gen LRU: MGLRU unbalance reclaim Message-ID: <202311091842.AqdVBQwL-lkp@intel.com> References: <20231108065818.19932-3-link@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231108065818.19932-3-link@vivo.com> X-Rspamd-Queue-Id: 944A6140015 X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: wa4wq44cm55h6yjoyckoc5n5dmkg1f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24IDYHe4Ns2BLz9i6fqlj+sC9pEjntHd3VpckYdEJfarb9aZiV84Q9LREX73sRcLcKXf5Tc1t3+Hf0Mke6v5tu+mEJ6XaGFUPQPqS3AiSphK0goET+xSkCIKb3o/4drbGF/ETBxga8AiYFBvnqLV0tBkhuGETNGn0ct6xWlVue1ZYZVFJp1qTuKQaoJlgXPC8uXYwzLLC0hw9H1emgNCz0rmpNAizHhdbe7LvZgWNEuAty1odr/xY/2gxBH1NtN/LLeF9mCQOAzoo+y7n2z6pYBGZQxBe1U4q0V3eW9IuFLlkpgGhkqP0btF5ftBjh88cxjEBtAegz/IBAf7WdXNUk2Zd6PZt5z1j+orkjQYZCq4r1giZ4eUqiAgHXJlE6X1ysidaFa0B1djuHSnpE9HIoeQio4z6P1B5OOh2eyFHExLl7As4ysHELnI7UbqWUJNdQ== 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 Huan, kernel test robot noticed the following build warnings: [auto build test WARNING on akpm-mm/mm-everything] [also build test WARNING on tj-cgroup/for-next linus/master v6.6 next-20231109] [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/Huan-Yang/mm-vmscan-LRU-unbalance-cgroup-reclaim/20231108-151757 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20231108065818.19932-3-link%40vivo.com patch subject: [PATCH 2/4] mm: multi-gen LRU: MGLRU unbalance reclaim config: x86_64-randconfig-013-20231108 (https://download.01.org/0day-ci/archive/20231109/202311091842.AqdVBQwL-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231109/202311091842.AqdVBQwL-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/202311091842.AqdVBQwL-lkp@intel.com/ All warnings (new ones prefixed by >>): mm/vmscan.c: In function 'isolate_folios': >> mm/vmscan.c:4518:15: warning: 'unbalance' is used uninitialized in this function [-Wuninitialized] 4518 | if (scanned || unbalance) | ~~~~~~~~^~~~~~~~~~~~ vim +/unbalance +4518 mm/vmscan.c 4480 4481 static int isolate_folios(struct lruvec *lruvec, struct scan_control *sc, int swappiness, 4482 int *type_scanned, struct list_head *list) 4483 { 4484 int i; 4485 int type; 4486 int scanned; 4487 int tier = -1; 4488 bool unbalance; 4489 DEFINE_MIN_SEQ(lruvec); 4490 4491 /* 4492 * Try to make the obvious choice first. When anon and file are both 4493 * available from the same generation, interpret swappiness 1 as file 4494 * first and 200 as anon first. 4495 */ 4496 if (unlikely(unbalance_file_reclaim(sc, swappiness))) { 4497 unbalance = true; 4498 type = LRU_GEN_FILE; 4499 } else if (unlikely(unbalance_anon_reclaim(sc, swappiness))) { 4500 unbalance = true; 4501 type = LRU_GEN_ANON; 4502 } else if (!swappiness) 4503 type = LRU_GEN_FILE; 4504 else if (min_seq[LRU_GEN_ANON] < min_seq[LRU_GEN_FILE]) 4505 type = LRU_GEN_ANON; 4506 else if (swappiness == 1) 4507 type = LRU_GEN_FILE; 4508 else if (swappiness == 200) 4509 type = LRU_GEN_ANON; 4510 else 4511 type = get_type_to_scan(lruvec, swappiness, &tier); 4512 4513 for (i = !swappiness; i < ANON_AND_FILE; i++) { 4514 if (tier < 0) 4515 tier = get_tier_idx(lruvec, type); 4516 4517 scanned = scan_folios(lruvec, sc, type, tier, list); > 4518 if (scanned || unbalance) 4519 break; 4520 4521 type = !type; 4522 tier = -1; 4523 } 4524 4525 *type_scanned = type; 4526 4527 return scanned; 4528 } 4529 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki