aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2007-04-17 20:26:40 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2007-04-17 20:26:40 -0400
commit2155b28a6f4c74485fd6a99c4a7b4c75333c6883 (patch)
treec43b77e06144b039e25e1f0b5ff4d477de9d9123 /include
parent2649f2baf0f70f460c7f73a6076c7b4edccc5486 (diff)
Call curr_plugin->finish_switch() after every task switch.
GSN-EDF needs to be called after every task switch. This patch changes the existing plugins to handle the changed behavior.
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched_plugin.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/sched_plugin.h b/include/linux/sched_plugin.h
index 59e9e2f353..5c223695ab 100644
--- a/include/linux/sched_plugin.h
+++ b/include/linux/sched_plugin.h
@@ -38,9 +38,8 @@ typedef reschedule_check_t (*scheduler_tick_t) (void);
38typedef int (*schedule_t) (struct task_struct * prev, 38typedef int (*schedule_t) (struct task_struct * prev,
39 struct task_struct ** next, 39 struct task_struct ** next,
40 runqueue_t * rq); 40 runqueue_t * rq);
41/* clean up after the task switch has occured 41/* Clean up after the task switch has occured.
42 * it is guaranteed that the function is only called if prev is a real-time 42 * This function is called after every (even non-rt) task switch.
43 * task
44 */ 43 */
45typedef void (*finish_switch_t)(struct task_struct *prev); 44typedef void (*finish_switch_t)(struct task_struct *prev);
46 45