[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZxwZd160pfdBYz2y@slm.duckdns.org>
Date: Fri, 25 Oct 2024 12:19:35 -1000
From: Tejun Heo <tj@...nel.org>
To: David Vernet <void@...ifault.com>
Cc: linux-kernel@...r.kernel.org, kernel-team@...a.com, sched-ext@...a.com
Subject: Re: [PATCH sched_ext/for-6.12-fixes] sched_ext: Make cast_mask()
inline
On Fri, Oct 25, 2024 at 12:11:14PM -1000, Tejun Heo wrote:
> cast_mask() doesn't do any actual work and is defined in a header file.
> Force it to be inline. When it is not inlined and the function is not used,
> it can cause verificaiton failures like the following:
>
> # tools/testing/selftests/sched_ext/runner -t minimal
> ===== START =====
> TEST: minimal
> DESCRIPTION: Verify we can load a fully minimal scheduler
> OUTPUT:
> libbpf: prog 'cast_mask': missing BPF prog type, check ELF section name '.text'
> libbpf: prog 'cast_mask': failed to load: -22
> libbpf: failed to load object 'minimal'
> libbpf: failed to load BPF skeleton 'minimal': -22
> ERR: minimal.c:20
> Failed to open and load skel
> not ok 1 minimal #
> ===== END =====
>
> Signed-off-by: Tejun Heo <tj@...nel.org>
> Fixes: a748db0c8c6a ("tools/sched_ext: Receive misc updates from SCX repo")
Applying to sched_ext/for-6.12-fixes.
Thanks.
--
tejun
Powered by blists - more mailing lists