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>2009-12-17 21:34:09 -0500
commita2ac69aab6a363f3e450e4f54d72026dfcd2c72d (patch)
tree4c3fffe16789f60da5584b511f90b6f1a732d34a /kernel
parenta18a4da0233492c15bb7b62a329061cf7dcce7a2 (diff)
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 328a67c55287..ee894ee8a0bb 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