Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1595340

Re: [tip:core/urgent] sched/wait: Add <linux/sched/signal.h> dependency for now

From Linus Torvalds <torvalds@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: [tip:core/urgent] sched/wait: Add <linux/sched/signal.h> dependency for now
Date 2017-03-08 17:30 +0100
Message-ID <tiMDo-Dj-41@gated-at.bofh.it> (permalink)
References <tiMDo-Dj-43@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Mar 8, 2017 at 2:18 AM, tip-bot for Ingo Molnar
<tipbot@zytor.com> wrote:
> Author:     Ingo Molnar <mingo@kernel.org>
>
> 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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [tip:core/urgent] sched/wait: Add <linux/sched/signal.h>  dependency for now Linus Torvalds <torvalds@linux-foundation.org> - 2017-03-08 17:30 +0100
  Re: [tip:core/urgent] sched/wait: Add <linux/sched/signal.h>  dependency for now Linus Torvalds <torvalds@linux-foundation.org> - 2017-03-08 23:10 +0100

csiph-web