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 F16BDC3DA79 for ; Tue, 16 Jan 2024 01:02:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 274126B0072; Mon, 15 Jan 2024 20:02:03 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 224316B0074; Mon, 15 Jan 2024 20:02:03 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0EBEE6B0075; Mon, 15 Jan 2024 20:02:03 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 006D56B0072 for ; Mon, 15 Jan 2024 20:02:02 -0500 (EST) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id C0638A0863 for ; Tue, 16 Jan 2024 01:02:02 +0000 (UTC) X-FDA: 81683372484.27.D7CCD94 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by imf28.hostedemail.com (Postfix) with ESMTP id 131D4C0022 for ; Tue, 16 Jan 2024 01:01:59 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=BaRIaRid; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf28.hostedemail.com: domain of lkp@intel.com designates 198.175.65.12 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=1705366920; 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=UZvf+Eq5AdlRe9FBlfmxXjZfj/eeF+WW4cfFcXWRXVU=; b=fkBGhMf9Yp+Y0WyhhqwcDqdBz337E2majKSrdLVJgXlO1wiApa2DjlRm8NdDtupJQ0Vi4b nJIIJ6fh5kr/GfpurA/Aq2Y17drcRcHEJ8GsTBr8C5b50iQHSQoMD+Gu6sHfpRC6WSk6kg 7IdM38SoBsItzvDHLrox1yfdEaj4Mh0= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=BaRIaRid; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf28.hostedemail.com: domain of lkp@intel.com designates 198.175.65.12 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1705366920; a=rsa-sha256; cv=none; b=TcZxhiSDJpG5sU9ZGky4iUAzfA3+D3JZ6AxcwywpJ2PKGiVDP1ZKP87uycOL9xBSDHj5Gr ZYZ0nFKBYBmeHBarvhKsOTcPOvHmG7DIgtvfwb37bwJQGZpMznkJPXFWTIJnGp4hnVz76K nxomws0MtKotAAJ10VFyoCGmZFjA2Hg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705366920; x=1736902920; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=S3Oy2VxEFYwRZfrvwUDM9Mil/3RoLyBJPCtCCAjxvlg=; b=BaRIaRidO4K0J5yOic73Gb08h+s1rC1DRKgYdRLvy1eOWIM7v/9wRRll hnV2UOOUW5f59HJSGb5kSgKnTCZGqjmcwJJMcmh8ComLs4KbGdS8eYoRB 14klKWoK4m/Wdh5qTb4gEPk7fLwsvAKKc5+utj+9qGL5hgir+scghVBjq tygAauEtoEGl798dQOv0ie0jjGVAgqXREf13ZeRJ7ANZAsMtnTgb5aIvq knzXZw5hLryEbmhNveOwwahzv5aQe5U9equJc4AzkKceccRFFWcoscZRb WIOAA7qss2Uero2Vl8esfc5/1A6TpcM685N/mQxcrD9W0ljiaH/I86fp3 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10954"; a="7086959" X-IronPort-AV: E=Sophos;i="6.04,197,1695711600"; d="scan'208";a="7086959" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 17:01:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10954"; a="787246535" X-IronPort-AV: E=Sophos;i="6.04,197,1695711600"; d="scan'208";a="787246535" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmsmga007.fm.intel.com with ESMTP; 15 Jan 2024 17:01:45 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rPXpm-000CrG-1x; Tue, 16 Jan 2024 01:01:42 +0000 Date: Tue, 16 Jan 2024 09:01:01 +0800 From: kernel test robot To: Byungchul Park , linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, kernel_team@skhynix.com, akpm@linux-foundation.org, ying.huang@intel.com, namit@vmware.com, vernhao@tencent.com, mgorman@techsingularity.net, hughd@google.com, willy@infradead.org, david@redhat.com, peterz@infradead.org, luto@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, rjgolo@gmail.com Subject: Re: [PATCH v6 6/7] mm: Defer TLB flush by keeping both src and dst folios at migration Message-ID: <202401160823.I1JCYXT5-lkp@intel.com> References: <20240115081953.2521-7-byungchul@sk.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240115081953.2521-7-byungchul@sk.com> X-Rspamd-Queue-Id: 131D4C0022 X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: 4fh767puz7yjd396d3fp51dfyhir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lgWvbEOjLy7kwR9Gk1SG1zKGIePWNahoD8WN7fGBtV/X5rI2a5Bs+0pvK2gj6sQ3uYQjXVaGzRRxuaVMQhFyywA0cznBgta/I2vXkneSbNcNvA6PpB4YnCxoLwYImhKrFS+MkbYbtUPzV/x/gCQrMCDW+Ve9vXqrTx1vnLDrFp7IB4+A92z+qxCJVA5NumuwOMernRABBKRagFnp1mRkRCGY2pn5BexoA0Tn1fz6jhS0lGV7vWnwnSRw8A+5XKLFJh2BHCqjTigTMRX1bwHRTQwjgvAbjX9aCt1TvWrT0lcAN/vf046ECQYWdzvaRw== 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 Byungchul, kernel test robot noticed the following build warnings: [auto build test WARNING on 0dd3ee31125508cd67f7e7172247f05b7fd1753a] url: https://github.com/intel-lab-lkp/linux/commits/Byungchul-Park/x86-tlb-Add-APIs-manipulating-tlb-batch-s-arch-data/20240115-162220 base: 0dd3ee31125508cd67f7e7172247f05b7fd1753a patch link: https://lore.kernel.org/r/20240115081953.2521-7-byungchul%40sk.com patch subject: [PATCH v6 6/7] mm: Defer TLB flush by keeping both src and dst folios at migration config: arm-defconfig (https://download.01.org/0day-ci/archive/20240116/202401160823.I1JCYXT5-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240116/202401160823.I1JCYXT5-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/202401160823.I1JCYXT5-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from arch/arm/kernel/asm-offsets.c:12: >> include/linux/mm.h:2046:43: warning: declaration of 'struct arch_tlbflush_unmap_batch' will not be visible outside of this function [-Wvisibility] static inline void migrc_flush_end(struct arch_tlbflush_unmap_batch *arch) {} ^ 1 warning generated. -- In file included from kernel/sched/core.c:9: In file included from include/linux/highmem.h:8: In file included from include/linux/cacheflush.h:5: In file included from arch/arm/include/asm/cacheflush.h:10: >> include/linux/mm.h:2046:43: warning: declaration of 'struct arch_tlbflush_unmap_batch' will not be visible outside of this function [-Wvisibility] static inline void migrc_flush_end(struct arch_tlbflush_unmap_batch *arch) {} ^ kernel/sched/core.c:6500:20: warning: unused function 'sched_core_cpu_deactivate' [-Wunused-function] static inline void sched_core_cpu_deactivate(unsigned int cpu) {} ^ 2 warnings generated. -- In file included from kernel/sched/fair.c:27: In file included from include/linux/mm_api.h:1: >> include/linux/mm.h:2046:43: warning: declaration of 'struct arch_tlbflush_unmap_batch' will not be visible outside of this function [-Wvisibility] static inline void migrc_flush_end(struct arch_tlbflush_unmap_batch *arch) {} ^ kernel/sched/fair.c:13041:6: warning: no previous prototype for function 'free_fair_sched_group' [-Wmissing-prototypes] void free_fair_sched_group(struct task_group *tg) { } ^ kernel/sched/fair.c:13041:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void free_fair_sched_group(struct task_group *tg) { } ^ static kernel/sched/fair.c:13043:5: warning: no previous prototype for function 'alloc_fair_sched_group' [-Wmissing-prototypes] int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent) ^ kernel/sched/fair.c:13043:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent) ^ static kernel/sched/fair.c:13048:6: warning: no previous prototype for function 'online_fair_sched_group' [-Wmissing-prototypes] void online_fair_sched_group(struct task_group *tg) { } ^ kernel/sched/fair.c:13048:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void online_fair_sched_group(struct task_group *tg) { } ^ static kernel/sched/fair.c:13050:6: warning: no previous prototype for function 'unregister_fair_sched_group' [-Wmissing-prototypes] void unregister_fair_sched_group(struct task_group *tg) { } ^ kernel/sched/fair.c:13050:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void unregister_fair_sched_group(struct task_group *tg) { } ^ static kernel/sched/fair.c:488:20: warning: unused function 'list_del_leaf_cfs_rq' [-Wunused-function] static inline void list_del_leaf_cfs_rq(struct cfs_rq *cfs_rq) ^ kernel/sched/fair.c:509:19: warning: unused function 'tg_is_idle' [-Wunused-function] static inline int tg_is_idle(struct task_group *tg) ^ kernel/sched/fair.c:533:19: warning: unused function 'max_vruntime' [-Wunused-function] static inline u64 max_vruntime(u64 max_vruntime, u64 vruntime) ^ kernel/sched/fair.c:6518:20: warning: unused function 'cfs_bandwidth_used' [-Wunused-function] static inline bool cfs_bandwidth_used(void) ^ kernel/sched/fair.c:6526:20: warning: unused function 'sync_throttle' [-Wunused-function] static inline void sync_throttle(struct task_group *tg, int cpu) {} ^ kernel/sched/fair.c:6550:37: warning: unused function 'tg_cfs_bandwidth' [-Wunused-function] static inline struct cfs_bandwidth *tg_cfs_bandwidth(struct task_group *tg) ^ kernel/sched/fair.c:6554:20: warning: unused function 'destroy_cfs_bandwidth' [-Wunused-function] static inline void destroy_cfs_bandwidth(struct cfs_bandwidth *cfs_b) {} ^ 12 warnings generated. -- In file included from arch/arm/kernel/asm-offsets.c:12: >> include/linux/mm.h:2046:43: warning: declaration of 'struct arch_tlbflush_unmap_batch' will not be visible outside of this function [-Wvisibility] static inline void migrc_flush_end(struct arch_tlbflush_unmap_batch *arch) {} ^ 1 warning generated. vim +2046 include/linux/mm.h 2040 2041 #if defined(CONFIG_MIGRATION) && defined(CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH) 2042 extern void migrc_flush_start(void); 2043 extern void migrc_flush_end(struct arch_tlbflush_unmap_batch *arch); 2044 #else 2045 static inline void migrc_flush_start(void) {} > 2046 static inline void migrc_flush_end(struct arch_tlbflush_unmap_batch *arch) {} 2047 #endif 2048 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki