Re: [GIT pull] sched/urgent for v5.9-rc2

From: Linus Torvalds
Date: Sun Aug 30 2020 - 14:55:30 EST


On Sun, Aug 30, 2020 at 11:04 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> - Make is_idle_task() __always_inline to prevent the compiler from putting
> it out of line into the wrong section because it's used inside noinstr
> sections.

What completely broken compiler uninlined that single-instruction function?

I've obviously pulled this, but it sounds like there should be a
compiler bug-report for this insane behavior.

Or is Marco building the kernel without optimizations or something
like that? That has not been a supported model, for various good
reasons..

Linus