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 "rres_dispatch.h"
#include <linux/sched.h>
#include <linux/aquosa/qos_debug.h>
#include <linux/aquosa/qos_func.h>
Go to the source code of this file.
Defines | |
#define | QOS_DEBUG_LEVEL RRES_MOD_DEBUG_LEVEL |
#define | SCHED_OTHER SCHED_NORMAL |
Functions | |
int | task_ready (kal_task_t *task) |
return true if task is ready to run (task's state = TASK_RUNNING in Linux) | |
void | rres_init_sched_param (kal_task_t *task) |
void | rres_task_sched_default (kal_task_t *task) |
void | activate_task_local (kal_task_t *task) |
void | deactivate_task_local (kal_task_t *task) |
void | stop_task (kal_task_t *t) |
Make a task not schedulable by the Linux scheduler. | |
void | dispatch_task (kal_task_t *t) |
Allow the Linux scheduler to schedule this task. |
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.c.