]> git.karo-electronics.de Git - linux-beck.git/commit
[PATCH] cpufreq_conservative/ondemand: invert meaning of 'ignore nice'
authorAlexander Clouter <alex@digriz.org.uk>
Thu, 1 Dec 2005 09:09:25 +0000 (01:09 -0800)
committerDave Jones <davej@redhat.com>
Thu, 1 Dec 2005 09:23:23 +0000 (01:23 -0800)
commit001893cda2f280ab882164737a0b608208524809
tree99e25fb9dc8f525a66c9e04d9109e008b3141200
parent6df8900676c3f5c133328332fb8ad889fd0cc9e3
[PATCH] cpufreq_conservative/ondemand: invert meaning of 'ignore nice'

The use of the 'ignore_nice' sysfs file is confusing to anyone using it.
This removes the sysfs file 'ignore_nice' and in its place creates a
'ignore_nice_load' entry that defaults to '0'; meaning nice'd processes
_are_ counted towards the 'business' calculation.

WARNING: this obvious breaks any userland tools that expected ignore_nice'
to exist, to draw attention to this fact it was concluded on the mailing
list that the entry should be removed altogether so the userland app breaks
and so the author can build simple to detect workaround.  Having said that
it seems currently very few tools even make use of this functionality; all
I could find was a Gentoo Wiki entry.

Signed-off-by: Alexander Clouter <alex-kernel@digriz.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq_conservative.c
drivers/cpufreq/cpufreq_ondemand.c