From: Tejun Heo <tj@kernel.org>
To: Manu Bretelle <chantr4@gmail.com>
Cc: void@manifault.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] sched_ext: define missing cfi stubs for sched_ext
Date: Tue, 13 Aug 2024 09:04:13 -1000 [thread overview]
Message-ID: <ZruuLRv2h6RYWAFb@slm.duckdns.org> (raw)
In-Reply-To: <20240813185625.535541-1-chantr4@gmail.com>
On Tue, Aug 13, 2024 at 11:56:25AM -0700, Manu Bretelle wrote:
> `__bpf_ops_sched_ext_ops` was missing the initialization of some struct
> attributes.
> With
> https://lore.kernel.org/all/20240722183049.2254692-4-martin.lau@linux.dev/
> every single attributes need to be initialized programs (like scx_layered)
> will fail to load.
>
> 05:26:48 [INFO] libbpf: struct_ops layered: member cgroup_init not found in kernel, skipping it as it's set to zero
> 05:26:48 [INFO] libbpf: struct_ops layered: member cgroup_exit not found in kernel, skipping it as it's set to zero
> 05:26:48 [INFO] libbpf: struct_ops layered: member cgroup_prep_move not found in kernel, skipping it as it's set to zero
> 05:26:48 [INFO] libbpf: struct_ops layered: member cgroup_move not found in kernel, skipping it as it's set to zero
> 05:26:48 [INFO] libbpf: struct_ops layered: member cgroup_cancel_move not found in kernel, skipping it as it's set to zero
> 05:26:48 [INFO] libbpf: struct_ops layered: member cgroup_set_weight not found in kernel, skipping it as it's set to zero
> 05:26:48 [WARN] libbpf: prog 'layered_dump': BPF program load failed: unknown error (-524)
> 05:26:48 [WARN] libbpf: prog 'layered_dump': -- BEGIN PROG LOAD LOG --
> attach to unsupported member dump of struct sched_ext_ops
> processed 0 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0
> -- END PROG LOAD LOG --
> 05:26:48 [WARN] libbpf: prog 'layered_dump': failed to load: -524
> 05:26:48 [WARN] libbpf: failed to load object 'bpf_bpf'
> 05:26:48 [WARN] libbpf: failed to load BPF skeleton 'bpf_bpf': -524
> Error: Failed to load BPF program
>
> Signed-off-by: Manu Bretelle <chantr4@gmail.com>
Applied to sched_ext/for-6.12.
Thanks.
--
tejun
prev parent reply other threads:[~2024-08-13 19:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-13 18:56 [PATCH] sched_ext: define missing cfi stubs for sched_ext Manu Bretelle
2024-08-13 19:04 ` Tejun Heo [this message]
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=ZruuLRv2h6RYWAFb@slm.duckdns.org \
--to=tj@kernel.org \
--cc=chantr4@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=void@manifault.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