Module interfacing with the Linux scheduler for the purpose of forcing schedule and deschedule of processes belonging to the servers. More...
#include "rres_config.h"#include <linux/sched.h>#include <linux/aquosa/qos_debug.h>Go to the source code of this file.
Defines | |
| #define | rres_init_sched_param(task) set_task_rr_prio(task, RRES_DISPATCH_PRIORITY) |
| #define | rres_task_sched_default(task) set_task_rr_prio(task, -1) |
| #define | SCHED_OTHER SCHED_NORMAL |
Functions | |
| int | task_ready (struct task_struct *task) |
| return true if task is ready to run (task's state = TASK_RUNNING in Linux) | |
| void | activate_task_local (struct task_struct *task) |
| void | deactivate_task_local (struct task_struct *task) |
| void | stop_task (struct task_struct *t) |
| Make a task not schedulable by Linux scheduler. | |
| void | dispatch_task (struct task_struct *t) |
| Force Linux to schedule this task (or one of the task of the same server). | |
Module interfacing with the Linux scheduler for the purpose of forcing schedule and deschedule of processes belonging to the servers.
This implementation uses the new [de]activate_task_local() functions made available through the new generic scheduler patch.
Definition in file rres_dispatch_new.h.
1.6.3