Re: [PATCH 3/6] sched: Extract __schedule_loop()
From: Sebastian Andrzej Siewior
Date: Wed Aug 16 2023 - 06:02:50 EST
On 2023-08-15 18:33:01 [-0400], Phil Auld wrote:
> > --- a/kernel/sched/core.c
> > +++ b/kernel/sched/core.c
> > @@ -6787,16 +6787,21 @@ static void sched_update_worker(struct t
> > }
> > }
> >
> > -asmlinkage __visible void __sched schedule(void)
> > +static __always_inline void __schedule_loop(unsigned int sched_mode)
>
> I think this needs __sched or it's the only thing that ever shows up
> in wchan. E.g.
>
> 16995 0 bash S __schedule_loop.constprop.0
I don't see __schedule_loop in my RT and !RT build. I tried gcc and
clang.
Sebastian