]> git.baikalelectronics.ru Git - kernel.git/commit
tick: Remove useless timekeeping duty attribution to broadcast source
authorJiri Bohac <jbohac@suse.cz>
Tue, 28 May 2013 13:29:03 +0000 (15:29 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 31 May 2013 13:58:32 +0000 (15:58 +0200)
commit6dc409f1f225cd7c36d5250a724471c2e60b9be3
tree03d1d6971d951220805c3f4c6812d9898da534de
parent6f7082983b4df8e6c463f0b529f02c48c41f95f9
tick: Remove useless timekeeping duty attribution to broadcast source

Since c1912097 ("clockevents: broadcast fixup possible waiters"),
the timekeeping duty is assigned to the CPU that handles the tick
broadcast clock device by the time it is set in one shot mode.

This is an issue in full dynticks mode where the timekeeping duty
must stay handled by the boot CPU for now. Otherwise it prevents
secondary CPUs from offlining and this breaks
suspend/shutdown/reboot/...

As it appears there is no reason for this timekeeping duty to be
moved to the broadcast CPU, besides nothing prevent it from being
later re-assigned to another target, let's simply remove it.

Signed-off-by: Jiri Bohac <jbohac@suse.cz>
Reported-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/time/tick-broadcast.c