From: kernel test robot <lkp@intel.com>
To: Byungchul Park <byungchul@sk.com>,
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
Date: Tue, 16 Jan 2024 09:01:01 +0800 [thread overview]
Message-ID: <202401160823.I1JCYXT5-lkp@intel.com> (raw)
In-Reply-To: <20240115081953.2521-7-byungchul@sk.com>
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 <lkp@intel.com>
| 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
next prev parent reply other threads:[~2024-01-16 1:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-15 8:19 [PATCH v6 0/7] Reduce TLB flushes by 94% by improving folio migration Byungchul Park
2024-01-15 8:19 ` [PATCH v6 1/7] x86/tlb: Add APIs manipulating tlb batch's arch data Byungchul Park
2024-01-15 8:19 ` [PATCH v6 2/7] arm64: tlbflush: " Byungchul Park
2024-01-15 8:19 ` [PATCH v6 3/7] mm/rmap: Recognize read-only TLB entries during batched TLB flush Byungchul Park
2024-01-15 8:19 ` [PATCH v6 4/7] mm: Separate move/undo doing on folio list from migrate_pages_batch() Byungchul Park
2024-01-15 8:19 ` [PATCH v6 5/7] mm: Add APIs to free a folio directly to the buddy bypassing pcp Byungchul Park
2024-01-15 8:19 ` [PATCH v6 6/7] mm: Defer TLB flush by keeping both src and dst folios at migration Byungchul Park
2024-01-15 23:49 ` kernel test robot
2024-01-16 1:01 ` kernel test robot [this message]
2024-01-16 2:12 ` kernel test robot
2024-01-15 8:19 ` [PATCH v6 7/7] mm: Pause migrc mechanism at high memory pressure Byungchul Park
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202401160823.I1JCYXT5-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=bp@alien8.de \
--cc=byungchul@sk.com \
--cc=dave.hansen@linux.intel.com \
--cc=david@redhat.com \
--cc=hughd@google.com \
--cc=kernel_team@skhynix.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
--cc=luto@kernel.org \
--cc=mgorman@techsingularity.net \
--cc=mingo@redhat.com \
--cc=namit@vmware.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=peterz@infradead.org \
--cc=rjgolo@gmail.com \
--cc=tglx@linutronix.de \
--cc=vernhao@tencent.com \
--cc=willy@infradead.org \
--cc=ying.huang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox