1 /* include/linux/ckrm_tc.h - general definitions for the CKRM TaskClass
3 * Copyright (C) Hubertus Franke, IBM Corp. 2004
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
15 #include <linux/ckrm_rc.h>
17 #define TASK_CLASS_TYPE_NAME "taskclass"
19 typedef struct ckrm_task_class {
20 struct ckrm_core_class core;
23 // Index into genmfdesc array, defined in rcfs/dir_modules.c,
24 // which has the mfdesc entry that taskclass wants to use
27 extern int ckrm_forced_reclassify_pid(int pid, struct ckrm_task_class *cls);