Re: [hack] sched: create PREEMPT_VOLUNTARY_RT and some RT specific resched points

From: Mike Galbraith
Date: Sun Aug 09 2015 - 06:52:21 EST


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;



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/