Thomas Gleixner
0e576acbc1
nohz: Fix another inconsistency between CONFIG_NO_HZ=n and nohz=off
...
If CONFIG_NO_HZ=n tick_nohz_get_sleep_length() returns NSEC_PER_SEC/HZ.
If CONFIG_NO_HZ=y and the nohz functionality is disabled via the
command line option "nohz=off" or not enabled due to missing hardware
support, then tick_nohz_get_sleep_length() returns 0. That happens
because ts->sleep_length is never set in that case.
Set it to NSEC_PER_SEC/HZ when the NOHZ mode is inactive.
Reported-by: Michal Hocko <mhocko@suse.cz>
Reported-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2013-11-29 12:23:03 +01:00
..
2013-09-25 14:07:49 +02:00
2013-10-03 18:47:54 +02:00
2013-11-13 12:09:23 +09:00
2013-11-13 12:09:34 +09:00
2013-11-15 16:47:22 -08:00
2013-11-13 13:50:17 +01:00
2013-11-07 19:26:55 +01:00
2013-11-13 12:09:14 +09:00
2013-11-19 14:59:50 +01:00
2013-11-13 13:33:55 +01:00
2013-11-29 12:23:03 +01:00
2013-11-16 12:23:18 -08:00
2013-09-24 17:00:26 -07:00
2013-11-15 09:32:20 +09:00
2013-09-09 11:19:09 -07:00
2013-11-13 15:21:53 +09:00
2013-10-09 12:36:13 +02:00
2013-11-14 16:55:11 +09:00
2013-09-03 18:25:03 -07:00
2013-11-13 12:09:12 +09:00
2013-11-09 00:16:23 -05:00
2013-09-11 15:58:25 -07:00
2013-11-15 09:32:15 +09:00
2013-11-06 09:23:59 +01:00
2013-08-30 23:44:11 -07:00
2013-11-15 13:51:36 +09:00
2013-10-19 19:45:35 -04:00
2013-11-15 09:32:22 +09:00
2013-11-15 16:47:22 -08:00
2013-09-30 14:31:02 -07:00
2013-11-13 12:09:26 +09:00
2013-09-12 15:38:03 -07:00
2013-11-13 12:08:59 +09:00
2013-11-12 10:20:12 +09:00
2013-09-11 15:58:21 -07:00
2013-11-15 13:27:50 +09:00
2013-09-07 14:35:32 -07:00
2013-11-13 12:09:35 +09:00
2013-09-28 12:35:52 -07:00
2013-10-24 23:43:29 -04:00
2013-09-30 14:31:03 -07:00
2013-11-13 12:09:33 +09:00
2013-09-24 17:00:26 -07:00
2013-09-12 15:38:02 -07:00
2013-11-09 00:16:29 -05:00
2013-11-15 09:32:22 +09:00
2013-11-15 09:32:22 +09:00
2013-11-11 12:43:38 +01:00
2013-11-13 12:09:13 +09:00
2013-11-13 12:09:33 +09:00
2013-11-14 16:30:30 +09:00
2013-09-11 15:58:27 -07:00
2013-11-13 12:09:34 +09:00
2013-11-19 14:59:50 +01:00
2013-08-30 23:44:11 -07:00
2013-11-15 09:32:22 +09:00
2013-09-07 14:35:32 -07:00
2013-08-30 23:44:11 -07:00
2013-09-24 17:00:25 -07:00
2013-09-06 09:36:28 -07:00