Re: [tip:core/urgent] sched/wait: Add <linux/sched/signal.h> dependency for now
From: Linus Torvalds
Date: Wed Mar 08 2017 - 11:28:45 EST
On Wed, Mar 8, 2017 at 2:18 AM, tip-bot for Ingo Molnar
<tipbot@xxxxxxxxx> wrote:
> Author: Ingo Molnar <mingo@xxxxxxxxxx>
>
> sched/wait: Add <linux/sched/signal.h> dependency for now
>
> The wait_event_interruptible*() APIs are using signal_pending(), so
> include its header to not build-break users of those APIs.
Hmm. Did you guys miss the patch I sent for this yesterday? It avoided
the header file dependency, and imho also generated better code by
uninlining the slow path.
Linus