nohz: Assert existing housekeepers when nohz full enabled
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 1 Sep 2015 14:51:00 +0000 (16:51 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 2 Sep 2015 08:33:22 +0000 (10:33 +0200)
commit7c8bb6cb95061b3143759459ed6c6b0c73bcfecb
treeab1261459147b7f2fe96912768a5c51534774ae8
parent9642d18eee2cd169b60c6ac0f20bda745b5a3d1e
nohz: Assert existing housekeepers when nohz full enabled

The code ensures that when nohz full is running, at least the
boot CPU serves as a housekeeper and it can't be later offlined.

Let's assert this assumption to make sure that we have CPUs to
handle unbound jobs like workqueues and timers while nohz full
CPUs run undisturbed.

Also improve the comments on housekeeper offlining prevention.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Chris Metcalf <cmetcalf@ezchip.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Cc: Vatika Harlalka <vatikaharlalka@gmail.com>
Link: http://lkml.kernel.org/r/1441119060-2230-3-git-send-email-fweisbec@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/time/tick-sched.c
This page took 0.024547 seconds and 5 git commands to generate.