nohz: Gather tick_sched booleans under a common flag field
authorFrederic Weisbecker <frederic@kernel.org>
Fri, 6 Apr 2018 02:32:37 +0000 (04:32 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 9 Apr 2018 09:54:57 +0000 (11:54 +0200)
commit2bc629a692a76b9ee3dab9c303e3f501bece66a4
tree228053069ba53acb9f5e11d5d6c6cfbcc075e460
parent87c9fe6ee495f78f36d39cb37f6a714444a093ee
nohz: Gather tick_sched booleans under a common flag field

Optimize the space and leave plenty of room for further flags.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
[ rjw: Do not use __this_cpu_read() to access tick_stopped and add
       got_idle_tick to avoid overloading inidle ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/time/tick-sched.c
kernel/time/tick-sched.h