1 Jul 2012 15:27
[RFC patch] BFS: 421-1
Hillf Danton <dhillf <at> gmail.com>
2012-07-01 13:27:33 GMT
2012-07-01 13:27:33 GMT
With 15 patches collected, the 421-1 is ready with iso untouched.
Note diff is based not on 420 but on 421.
--- a/kernel/sched/bfs.c Sun Jul 1 20:39:30 2012
+++ b/kernel/sched/bfs.c Fri Jun 15 20:00:52 2012
<at> <at> -113,7 +113,6 <at> <at>
#define USER_PRIO(p) ((p) - MAX_RT_PRIO)
#define TASK_USER_PRIO(p) USER_PRIO((p)->static_prio)
#define MAX_USER_PRIO (USER_PRIO(MAX_PRIO))
-#define SCHED_PRIO(p) ((p) + MAX_RT_PRIO)
#define STOP_PRIO (MAX_RT_PRIO - 1)
/*
<at> <at> -150,6 +149,19 <at> <at> int rr_interval __read_mostly = 6;
*/
int sched_iso_cpu __read_mostly = 70;
+#ifdef CONFIG_SMP
+enum {
+ EDL_CK, //default
+ EDL_MS, //map cache distance to milliseconds
+ EDL_NONE, //strict edl
+};
+int edl_mode = EDL_CK;
+
+unsigned long grab_rq_lock = 0,
+ wait_rq_lock = 0,
+ tsk_csw = 0,
+ cpu_csw = 0;
+#endif
(Continue reading)
RSS Feed