Paul Turner
d3d9dc3302
sched: Throttle entities exceeding their allowed bandwidth
...
With the machinery in place to throttle and unthrottle entities, as well as
handle their participation (or lack there of) we can now enable throttling.
There are 2 points that we must check whether it's time to set throttled state:
put_prev_entity() and enqueue_entity().
- put_prev_entity() is the typical throttle path, we reach it by exceeding our
allocated run-time within update_curr()->account_cfs_rq_runtime() and going
through a reschedule.
- enqueue_entity() covers the case of a wake-up into an already throttled
group. In this case we know the group cannot be on_rq and can throttle
immediately. Checks are added at time of put_prev_entity() and
enqueue_entity()
Signed-off-by: Paul Turner <pjt@google.com >
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl >
Link: http://lkml.kernel.org/r/20110721184758.091415417@google.com
Signed-off-by: Ingo Molnar <mingo@elte.hu >
2011-08-14 12:03:47 +02:00
..
2011-08-01 13:39:40 -10:00
2011-07-21 20:41:55 +02:00
2011-07-26 16:49:45 -07:00
2011-07-28 15:25:46 +00:00
2011-07-25 13:56:39 -07:00
2011-07-22 16:52:18 -07:00
2011-08-05 10:33:55 +02:00
2010-08-09 16:48:42 -04:00
2011-06-14 22:48:46 -04:00
2011-07-20 14:10:11 -07:00
2011-03-14 09:15:23 -04:00
2011-07-26 16:49:47 -07:00
2010-10-30 01:42:19 -04:00
2011-03-03 10:55:40 -08:00
2011-07-26 16:49:47 -07:00
2011-03-23 19:46:28 -07:00
2011-05-19 18:51:57 +10:00
2011-05-26 17:12:34 -07:00
2011-07-27 19:26:38 -07:00
2011-07-30 00:08:53 -07:00
2011-07-25 20:57:15 -07:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2011-03-23 19:47:19 -07:00
2011-08-11 11:24:42 -07:00
2011-07-14 12:59:14 +03:00
2010-08-09 20:45:05 -07:00
2011-07-26 16:49:44 -07:00
2011-05-20 08:56:56 +02:00
2011-08-11 11:24:42 -07:00
2011-05-17 23:19:17 +02:00
2011-03-23 19:47:08 -07:00
2011-08-04 09:09:27 +02:00
2011-03-23 19:47:08 -07:00
2011-05-25 15:31:58 -07:00
2011-04-28 09:13:17 +02:00
2010-12-18 15:54:48 +01:00
2011-06-29 09:59:17 -04:00
2011-03-25 17:52:22 -07:00
2011-04-10 17:01:05 +02:00
2011-06-10 15:15:40 +02:00
2011-06-10 14:55:36 +02:00
2010-10-01 10:50:58 -07:00
2011-08-03 22:03:29 -10:00
2011-07-15 15:11:47 -04:00
2011-04-19 16:45:51 -07:00
2011-05-28 17:02:57 +02:00
2011-03-31 11:26:23 -03:00
2011-03-23 13:54:47 +01:00
2011-08-04 10:17:56 +02:00
2011-08-05 23:57:33 +02:00
2011-07-24 22:06:04 +09:30
2011-04-14 08:52:33 +02:00
2011-04-14 08:52:33 +02:00
2011-05-25 08:39:17 -07:00
2011-04-14 08:52:33 +02:00
2011-07-25 20:57:14 -07:00
2011-07-20 01:44:07 -04:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:45 -07:00
2011-07-24 22:06:04 +09:30
2011-03-23 19:46:58 -07:00
2011-07-08 22:21:58 +02:00
2011-07-08 14:02:53 +02:00
2011-05-23 13:59:54 +02:00
2011-05-24 12:10:51 +02:00
2011-08-09 18:22:22 -07:00
2011-05-26 17:12:37 -07:00
2011-07-18 21:38:33 +02:00
2010-11-12 07:55:31 -08:00
2011-07-26 16:49:47 -07:00
2011-05-05 23:16:58 -07:00
2011-05-20 12:50:29 -07:00
2011-07-26 16:49:47 -07:00
2011-07-20 10:50:12 -07:00
2011-07-26 16:49:47 -07:00
2011-07-13 08:17:56 -07:00
2011-06-16 16:12:05 -07:00
2010-11-05 08:21:34 -07:00
2011-03-23 19:46:22 -07:00
2011-07-30 21:21:39 +02:00
2011-01-27 21:13:51 -05:00
2011-01-27 21:13:51 -05:00
2011-02-22 22:07:22 +01:00
2011-07-08 14:02:53 +02:00
2011-07-26 16:49:47 -07:00
2011-03-31 11:26:23 -03:00
2011-07-01 10:39:08 +02:00
2010-11-23 10:29:08 +01:00
2011-08-14 12:01:11 +02:00
2011-08-14 12:01:11 +02:00
2011-04-24 13:18:38 +02:00
2011-08-14 12:03:47 +02:00
2011-08-14 12:00:41 +02:00
2011-04-14 08:52:36 +02:00
2011-08-14 12:01:13 +02:00
2011-05-28 17:02:54 +02:00
2011-08-14 12:01:13 +02:00
2011-08-14 12:03:44 +02:00
2011-07-27 12:53:36 -07:00
2011-06-17 10:17:12 +02:00
2011-07-20 10:50:12 -07:00
2011-01-14 04:56:49 -08:00
2011-06-14 22:48:52 -04:00
2011-07-26 16:49:47 -07:00
2011-05-20 13:53:02 -07:00
2011-08-11 11:24:42 -07:00
2011-03-14 09:15:28 -04:00
2011-03-23 19:46:51 -07:00
2011-08-14 12:03:26 +02:00
2011-08-03 14:25:20 -10:00
2010-10-14 08:55:27 +02:00
2011-03-15 18:53:35 -07:00
2011-06-03 15:02:32 +02:00
2011-04-04 12:48:08 -04:00
2010-10-27 18:03:17 -07:00
2011-03-23 19:47:08 -07:00
2011-01-13 08:03:18 -08:00
2011-03-31 11:26:23 -03:00
2011-03-23 19:46:59 -07:00
2011-05-10 14:35:35 -07:00
2011-03-31 11:26:23 -03:00
2011-07-14 17:25:04 -04:00
2010-06-29 10:07:14 +02:00
2011-07-22 15:07:15 -07:00