aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2009-12-17 21:34:09 -0500
committerAndrea Bastoni <bastoni@cs.unc.edu>2010-05-29 17:16:40 -0400
commit5442a8adfce93c1cd556e04bfc0a118adc3b683e (patch)
tree5e01b4062243a34bda49a531d4231ddca8126885 /kernel
parentfa3c94fc9cd1619fe0dd6081a1a980c09ef3e119 (diff)
[ported from 2008.3] Add Stack Resource Policy (SRP) support
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 328a67c5528..ee894ee8a0b 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -5533,6 +5533,9 @@ need_resched_nonpreemptible:
5533 5533
5534 if (need_resched()) 5534 if (need_resched())
5535 goto need_resched; 5535 goto need_resched;
5536
5537 if (srp_active())
5538 srp_ceiling_block();
5536} 5539}
5537EXPORT_SYMBOL(schedule); 5540EXPORT_SYMBOL(schedule);
5538 5541