CKRM task_class classtype
PATCH 3/6 CKRM task_class classtype
include/linux/ckrm_tc.h new file +18 -0
@@ -0,0 +1,18 @@ +#include <linux/ckrm_rc.h> + + + +#define TASK_CLASS_TYPE_NAME "taskclass" + +typedef struct ckrm_task_class { +struct ckrm_core_class core; +}ckrm_task_class_t ; + + +// Index into genmfdesc array, defined in rcfs/dir_modules.c, +// which has the mfdesc entry that taskclass wants to use +#define TC_MF_IDX 0 + + +extern int ckrm_forced_reclassify_pid (int pid,struct ckrm_task_class *cls); +
kernel/ckrm/ckrm_tc.c new file +770 -0
770 lines not on this page · raw message
fs/rcfs/tc_magic.c new file +94 -0
94 lines not on this page · raw message