[Bug 12482] Change cpufreq_ondemand to tread SCHED_IDLE time as idle time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



http://bugzilla.kernel.org/show_bug.cgi?id=12482





------- Comment #1 from jimsantelmo@xxxxxxxxx  2009-01-18 20:05 -------
Created an attachment (id=19883)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=19883&action=view)
patch to kernel_stat.h, sched.c, cpufreq_ondemand.c

  Been a long time since I did this, apologies if I screw things up. Hopefully
the patch will attach. It seems to work (I'm running it as I write). The
nice-level idea is nice, but would really require sched.c to keep track of time
at different nice levels. cpufreq_ondemand.c really shouldn't be including
sched.h and rooting around in scheduling data structures.
  If anyone out there actually wants their SCHED_IDLE tasks to jack up the cpu
speed, I guess another sysfs variable would have to be added, but I'd be
surprised if anyone does (switch it to SCHED_BATCH in that case would make
sense). 


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Devel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Forum]     [Linux SCSI]

  Powered by Linux