浏览代码

sched: add SCHED_IDLE policy

this patch adds the SCHED_IDLE policy to sched.h.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 18 年之前
父节点
当前提交
0e6aca43e0
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/linux/sched.h

+ 2 - 0
include/linux/sched.h

@@ -34,6 +34,8 @@
 #define SCHED_FIFO		1
 #define SCHED_RR		2
 #define SCHED_BATCH		3
+/* SCHED_ISO: reserved but not implemented yet */
+#define SCHED_IDLE		5
 
 #ifdef __KERNEL__