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) |
#define | rres_task_sched_default(task) |
#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 | 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 SIGSTOP/SIGCONT based stopping and restarting of tasks.
Definition in file rres_dispatch_sig.h.