diff options
author | Ingo Molnar <mingo@kernel.org> | 2013-04-24 09:27:53 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-04-24 09:27:53 +0200 |
commit | bf967be396d0c6a52668921e7223856349d04b5e (patch) | |
tree | cbfc0c729a86e1d3e9fbcdfc0a085bd5b740c128 /kernel/posix-cpu-timers.c | |
parent | a166fcf04d848ffa09f0e831805553089f190cf4 (diff) | |
parent | 67826eae8c16dbf00c262be6ec15021bb42f69c4 (diff) |
Merge branch 'timers/nohz' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks into timers/nohz
Pull nohz-full enabling patches from Frederic Weisbecker:
" This handles perf and CPUs that get more than one task and fix posix cpu timers
handling.
This can finally stop the tick."
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/posix-cpu-timers.c')
-rw-r--r-- | kernel/posix-cpu-timers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/posix-cpu-timers.c b/kernel/posix-cpu-timers.c index 84d5cb372ed5..42670e9b44e0 100644 --- a/kernel/posix-cpu-timers.c +++ b/kernel/posix-cpu-timers.c @@ -673,12 +673,12 @@ static void posix_cpu_timer_kick_nohz(void) bool posix_cpu_timers_can_stop_tick(struct task_struct *tsk) { if (!task_cputime_zero(&tsk->cputime_expires)) - return true; + return false; if (tsk->signal->cputimer.running) - return true; + return false; - return false; + return true; } #else static inline void posix_cpu_timer_kick_nohz(void) { } |