On Tue, Jan 14, 2025, Valentin Schneider wrote:
static __always_inline void arch_context_tracking_work(enum ct_work work) { switch (work) {
- case CT_WORK_n:
// Do work...
- case CT_WORK_SYNC:
sync_core();
Not your bug, but serialize() needs to be __always_inline. Not sure what exactly caused it to be uninlined, but this is the obvious new usage.
vmlinux.o: warning: objtool: __static_call_update_early+0x4e: call to serialize() leaves .noinstr.text section vmlinux.o: warning: objtool: ct_work_flush+0x69: call to serialize() leaves .noinstr.text section