Messages in this thread | | | Date | Tue, 14 May 2013 13:52:00 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH] sched: remove redundant update_runtime notifier |
| |
On Thu, Apr 11, 2013 at 09:04:59PM +0800, Neil Zhang wrote: > migration_call() will do all the things that update_runtime() does. > So let's remove it. > > Furthermore, there is potential risk that the current code will catch > BUG_ON at line 689 of rt.c when do cpu hotplug while there are realtime > threads running because of enabling runtime twice while the rt_runtime > may already changed. >
Indeed, it looks like the 'new' sched_class::rq_{on,off}line stuff handles all that just fine.
Thanks for spotting that.
| |