sched/deadline: Implement "runtime overrun signal" support
authorJuri Lelli <juri.lelli@gmail.com>
Tue, 12 Dec 2017 11:10:24 +0000 (12:10 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 10 Jan 2018 10:30:31 +0000 (11:30 +0100)
commit34be39305a77b8b1ec9f279163c7cdb6cc719b91
tree1d970e5d92e508630d575814a3bae1181ed85348
parent7332dec055f2457c386032f7e9b2991eb05c2a0a
sched/deadline: Implement "runtime overrun signal" support

This patch adds the possibility of getting the delivery of a SIGXCPU
signal whenever there is a runtime overrun. The request is done through
the sched_flags field within the sched_attr structure.

Forward port of https://lkml.org/lkml/2009/10/16/170

Tested-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Juri Lelli <juri.lelli@gmail.com>
Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
Signed-off-by: Luca Abeni <luca.abeni@santannapisa.it>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tommaso Cucinotta <tommaso.cucinotta@sssup.it>
Link: http://lkml.kernel.org/r/1513077024-25461-1-git-send-email-claudio@evidence.eu.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
include/uapi/linux/sched.h
kernel/sched/core.c
kernel/sched/deadline.c
kernel/time/posix-cpu-timers.c