]> git.baikalelectronics.ru Git - kernel.git/commit
timers: Omit POSIX timer stuff from task_struct when disabled
authorNicolas Pitre <nicolas.pitre@linaro.org>
Sat, 21 Jan 2017 05:09:08 +0000 (00:09 -0500)
committerJohn Stultz <john.stultz@linaro.org>
Fri, 27 Jan 2017 21:05:26 +0000 (13:05 -0800)
commit10a0fdedcffa515bf46a47a81e736467bf4686c0
tree51be9f1d6b36120182dc4e0906460ddc1e011d65
parent7be0f7cd538caba83e285e6280861168ccb164ff
timers: Omit POSIX timer stuff from task_struct when disabled

When CONFIG_POSIX_TIMERS is disabled, it is preferable to remove related
structures from struct task_struct and struct signal_struct as they
won't contain anything useful and shouldn't be relied upon by mistake.
Code still referencing those structures is also disabled here.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
fs/proc/base.c
include/linux/init_task.h
include/linux/sched.h
kernel/fork.c
kernel/sched/rt.c
kernel/sched/stats.h