Paul E. McKenney
ab1b7880de
rcutorture: Make stutter_wait() caller restore priority
...
Currently, stutter_wait() will happily spin waiting for the stutter
interval to end even if the caller is running at a real-time priority
level. This could starve normal-priority tasks for no good reason. This
commit therefore drops the calling task's priority to SCHED_OTHER MAX_NICE
if stutter_wait() needs to wait. But when it waits, stutter_wait()
returns true, which allows the caller to restore the priority if needed.
Callers that were already running at SCHED_OTHER MAX_NICE obviously
do not need any changes, but this commit also restores priority for
higher-priority callers.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org >
2020-11-06 17:13:54 -08:00
..
2020-10-23 12:05:49 -07:00
2020-10-16 11:11:19 -07:00
2020-04-07 10:43:42 -07:00
2020-10-01 14:44:08 +01:00
2020-10-20 10:41:07 +02:00
2020-10-23 10:06:38 -07:00
2020-10-17 15:05:30 -06:00
2020-09-11 09:33:54 -07:00
2020-10-17 15:05:30 -06:00
2020-10-16 11:11:19 -07:00
2020-10-16 11:11:19 -07:00
2020-11-06 17:13:53 -08:00
2020-10-16 11:11:19 -07:00
2020-10-16 12:52:37 -07:00
2020-11-06 17:13:54 -08:00
2020-10-25 14:51:49 -07:00
2020-10-24 20:21:57 +02:00
2020-10-25 14:51:49 -07:00
2020-03-25 11:50:48 +01:00
2020-10-16 11:11:19 -07:00
2020-07-16 12:35:15 -07:00
2020-07-27 23:25:50 +02:00
2020-08-06 19:29:51 -07:00
2020-07-27 23:25:50 +02:00
2020-08-26 09:10:39 -04:00
2020-08-17 20:26:58 -04:00
2020-08-23 17:36:59 -05:00
2020-08-04 14:20:26 -07:00
2020-07-30 11:15:58 -07:00
2020-10-13 09:17:34 -07:00
2020-08-23 17:36:59 -05:00
2020-06-11 15:14:36 +02:00
2020-09-01 09:58:03 +02:00
2020-06-03 13:06:42 -07:00
2020-08-12 10:58:01 -07:00
2020-04-15 11:21:54 +02:00
2020-05-20 14:44:21 -05:00
2020-10-18 09:27:10 -07:00
2020-04-07 10:43:42 -07:00
2020-10-16 11:11:19 -07:00
2020-10-20 17:02:57 +02:00
2020-06-06 23:42:01 +09:00
2020-10-13 09:17:34 -07:00
2020-06-08 11:05:56 -07:00
2020-05-28 10:54:15 +02:00
2020-10-16 11:11:19 -07:00
2020-10-25 14:51:49 -07:00
2020-03-25 10:04:01 -05:00
2020-08-12 10:58:02 -07:00
2020-10-16 11:11:19 -07:00
2020-10-16 11:11:18 -07:00
2020-10-05 13:37:03 +02:00
2020-08-12 10:58:01 -07:00
2020-10-15 15:51:28 -07:00
2020-10-16 11:11:19 -07:00
2020-04-27 02:07:40 -04:00
2020-10-22 13:13:57 -07:00
2020-10-22 13:08:57 -07:00
2020-09-01 09:58:03 +02:00
2020-07-08 11:14:22 +02:00
2020-09-04 17:51:55 +10:00
2020-10-16 11:11:22 -07:00
2020-07-28 13:44:53 +02:00
2020-10-16 11:11:19 -07:00
2020-10-18 09:27:10 -07:00
2020-10-16 11:11:19 -07:00
2020-07-01 12:09:13 +03:00
2020-07-27 14:31:12 -04:00
2020-10-16 11:11:22 -07:00
2020-10-16 11:11:18 -07:00
2020-11-06 17:13:49 -08:00
2020-08-07 11:33:25 -07:00
2020-10-08 13:17:47 -07:00
2020-08-23 17:36:59 -05:00
2020-10-18 14:34:50 -07:00
2020-09-16 15:18:56 +02:00
2020-09-19 13:13:39 -07:00
2020-09-18 14:24:16 +01:00
2020-10-02 21:18:25 +02:00
2020-10-18 09:27:10 -07:00
2020-10-25 11:44:16 -07:00
2020-09-17 10:26:41 -07:00
2020-10-17 15:05:30 -06:00
2020-10-02 19:11:12 -07:00
2020-11-06 17:13:54 -08:00
2020-10-02 21:18:25 +02:00
2020-04-07 21:51:27 +02:00
2020-10-06 10:31:52 -07:00
2020-10-16 11:11:19 -07:00
2020-06-04 19:06:24 -07:00
2020-07-07 11:58:59 -05:00
2020-04-27 02:07:40 -04:00
2020-05-09 13:57:12 +02:00
2020-08-17 09:39:18 -07:00
2020-06-08 11:05:56 -07:00
2020-10-16 07:28:20 +02:00