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


Groups > linux.kernel > #1442433 > unrolled thread

[GIT PULL] timer fix

Started byIngo Molnar <mingo@kernel.org>
First post2016-07-13 15:10 +0200
Last post2016-07-13 15:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [GIT PULL] timer fix Ingo Molnar <mingo@kernel.org> - 2016-07-13 15:10 +0200

#1442433 — [GIT PULL] timer fix

FromIngo Molnar <mingo@kernel.org>
Date2016-07-13 15:10 +0200
Subject[GIT PULL] timer fix
Message-ID<rUs5k-3uO-17@gated-at.bofh.it>
Linus,

Please pull the latest timers-urgent-for-linus git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus

   # HEAD: 2c13ce8f6b2f6fd9ba2f9261b1939fc0f62d1307 posix_cpu_timer: Exit early when process has been reaped

A single fix for a posix CPU timers bug.

 Thanks,

	Ingo

------------------>
Alexey Dobriyan (1):
      posix_cpu_timer: Exit early when process has been reaped


 kernel/time/posix-cpu-timers.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/time/posix-cpu-timers.c b/kernel/time/posix-cpu-timers.c
index 1cafba860b08..39008d78927a 100644
--- a/kernel/time/posix-cpu-timers.c
+++ b/kernel/time/posix-cpu-timers.c
@@ -777,6 +777,7 @@ static void posix_cpu_timer_get(struct k_itimer *timer, struct itimerspec *itp)
 			timer->it.cpu.expires = 0;
 			sample_to_timespec(timer->it_clock, timer->it.cpu.expires,
 					   &itp->it_value);
+			return;
 		} else {
 			cpu_timer_sample_group(timer->it_clock, p, &now);
 			unlock_task_sighand(p, &flags);

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web