[PATCH -v2] sched/wait: Add <linux/sched/signal.h> dependency for now

From: Ingo Molnar
Date: Wed Mar 08 2017 - 05:11:58 EST



* Ingo Molnar <mingo@xxxxxxxxxx> wrote:

> I'll do more testing over the day to see how well this approach works. Not yet
> signed off by me. I'll post updated versions over the day if there's any
> changes.
>
> This removes the time pressure to untangle the wait.h mess for v4.11.

I've completed a full [allno|def|allmod|allyes]config test on x86, plus
[allno|def]config builds on 20+ architectures, and beyond a single obvious
Alpha build fix, the patch held up pretty well.

So if we can live with the ugliness temporarily, this approach might work as a
stop-gap measure. I'll push out the patch to get the various build bots active
as well.

I've attached -v2 below.

Also as a test I removed the <linux/sched/signal.h> from fs/overlayfs/util.c, and
the build failure you saw originally does not trigger anymore.

Since I'm not aware of this particular dependency bug having appeared in anything
else but the overlayfs bug you worked around in the merge window (there's some
pending build fixes but they are unrelated), I could also wait for a linux-next
test iteration to get more cross-arch build coverage of this patch and send this
fix to you in about two days.

But feel free to apply it from email as well.

Thoughts?

Thanks,

Ingo

====================>