Re: [hack] sched: create PREEMPT_VOLUNTARY_RT and some RT specific resched points
From: Mike Galbraith <hidden>
Date: 2015-08-09 10:51:53
Also in:
lkml
From: Mike Galbraith <hidden>
Date: 2015-08-09 10:51:53
Also in:
lkml
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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>