Skip to contentSkip to conversation

sched/wait: Add <linux/sched/signal.h> dependency for now

tip:core/urgent Linus Torvalds 1 participant 2 messages Mar 8, 2017 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 6 lines · tip-bot for Ingo Molnar

Author: Ingo Molnar <[email protected]>

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

#2 lore raw
Quoted 4 lines · Linus Torvalds

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.

Ahh, I see I have another thread that has reactions to it. Will go read now.

Linus