• Alexander Clouter's avatar
    [PATCH] cpufreq_conservative/ondemand: invert meaning of 'ignore nice' · 001893cd
    Alexander Clouter authored
    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: default avatarAlexander Clouter <alex-kernel@digriz.org.uk>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarDave Jones <davej@redhat.com>
    001893cd
cpufreq_ondemand.c 13 KB