Thread (17 messages) 17 messages, 5 authors, 2015-08-09

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

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.
quoted hunk ↗ jump to hunk
--- 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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help