Re: [RFC][PATCH 7/7] sched: Replace rq::wake_list

From: Guenter Roeck
Date: Thu Jun 18 2020 - 15:06:44 EST


On Thu, Jun 18, 2020 at 01:57:33PM -0400, Steven Rostedt wrote:
> On Tue, Jun 09, 2020 at 02:25:09PM -0700, Guenter Roeck wrote:
> > >
> > > Still occurring on Linus' tree. This needs to be fixed. (And not by removing
> > > support for randstruct; that's not a "fix"...)
> > >
> >
> > How about the hack below ?
>
> My test suite failed due to this bug (on my allmodconfig test).
>
> Your hack appears to fix it. I've applied it to my "fixes" patches applied to
> my test suite before building my kernels.
>
Ah, I would have hoped that this was by now fixed upstream. Apparently that
is not the case. Guess Linus is using an old version of gcc (or maybe clang)
for his test builds, and everyone doing test builds is now using this or a
similar hack. For my part, I disabled CONFIG_GCC_PLUGIN_RANDSTRUCT.

Guenter