Messages in this thread | | | Subject | Re: [hack] sched: create PREEMPT_VOLUNTARY_RT and some RT specific resched points | From | Mike Galbraith <> | Date | Sun, 09 Aug 2015 12:51:48 +0200 |
| |
Damn, the hunk below was supposed to go away before hack escaped.
The whole thing is just a "could we maybe...", but just in case anybody plays with it, that hunk proved to be a bad idea, kill it.
> --- a/kernel/softirq.c > +++ b/kernel/softirq.c > @@ -280,6 +280,8 @@ asmlinkage __visible void __do_softirq(v > } > h++; > pending >>= softirq_bit; > + if (need_resched_rt() && current != this_cpu_ksoftirqd()) > + break;
| |