• Nicolas Pitre's avatar
    sched/fair: Remove "power" from 'struct numa_stats' · 5ef20ca1
    Nicolas Pitre authored
    It is better not to think about compute capacity as being equivalent
    to "CPU power".  The upcoming "power aware" scheduler work may create
    confusion with the notion of energy consumption if "power" is used too
    liberally.
    
    To make things explicit and not create more confusion with the existing
    "capacity" member, let's rename things as follows:
    
    	power    -> compute_capacity
    	capacity -> task_capacity
    
    Note: none of those fields are actually used outside update_numa_stats().
    Signed-off-by: default avatarNicolas Pitre <nico@linaro.org>
    Signed-off-by: default avatarPeter Zijlstra <peterz@infradead.org>
    Cc: Vincent Guittot <vincent.guittot@linaro.org>
    Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
    Cc: Morten Rasmussen <morten.rasmussen@arm.com>
    Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
    Cc: linaro-kernel@lists.linaro.org
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: linux-kernel@vger.kernel.org
    Link: http://lkml.kernel.org/n/tip-2e2ndymj5gyshyjq8am79f20@git.kernel.orgSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
    5ef20ca1
fair.c 201 KB