• A
    [PATCH] cpufreq_conservative/ondemand: invert meaning of 'ignore nice' · 001893cd
    Alexander Clouter 提交于
    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: NAlexander Clouter <alex-kernel@digriz.org.uk>
    Signed-off-by: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NDave Jones <davej@redhat.com>
    001893cd
cpufreq_conservative.c 14.8 KB