Thanks I had a felling I missed a patch somewhere lol I'm currently merging all faux's updated commits before I do anymore kernel.org patchesYou're missing some codes on kernel/sched
try sync it with faux's
Look on his
- kernel/sched/core.c line 2269
- kernel/sched/sched.h - intelli_plug: refactor stats calculation code to be less intrusiveCode:unsigned long avg_cpu_nr_running(unsigned int cpu) { unsigned int seqcnt, ave_nr_running; struct nr_stats_s *stats = &per_cpu(runqueue_stats, cpu); struct rq *q = cpu_rq(cpu); /* * Update average to avoid reading stalled value if there were * no run-queue changes for a long time. On the other hand if * the changes are happening right now, just read current value * directly. */ seqcnt = read_seqcount_begin(&stats->ave_seqcnt); ave_nr_running = do_avg_nr_running(q); if (read_seqcount_retry(&stats->ave_seqcnt, seqcnt)) { read_seqcount_begin(&stats->ave_seqcnt); ave_nr_running = stats->ave_nr_running; } return ave_nr_running; } EXPORT_SYMBOL(avg_cpu_nr_running); #endif
hope it'll help.