Re: linux-next: Tree for Mar 31 (objtool warnings: RCU)

From: Josh Poimboeuf
Date: Mon Mar 31 2025 - 18:12:46 EST


On Mon, Mar 31, 2025 at 02:22:23PM -0700, Randy Dunlap wrote:
>
>
> On 3/30/25 11:12 PM, Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since 20250328:
> >
>
> on x86_64 with gcc (SUSE Linux) 14.2.1 20250220 [revision 9ffecde121af883b60bbe60d00425036bc873048]:
>
> vmlinux.o: warning: objtool: irqentry_nmi_enter+0xa2: call to ct_nmi_enter() leaves .noinstr.text section
> vmlinux.o: warning: objtool: irqentry_nmi_exit+0x16: call to ct_nmi_exit() leaves .noinstr.text section
> vmlinux.o: warning: objtool: irqentry_exit+0x78: call to ct_irq_exit() leaves .noinstr.text section
> vmlinux.o: warning: objtool: __ct_user_enter+0x75: call to rcu_irq_work_resched() leaves .noinstr.text section

Yup, those need to be __always_inline. Will fix.

--
Josh