I'm trying to understand the EAS arm implementation on fair.c, but I can't understand the difference from those:
cpu_capacity, defined on kernel/sched/sched.h :: struct rq cpu_capacity_orig, defined on the same data structure and the macro arch_scale_cpu_capacity.
I understand that the arch_scale_cpu_capacity macro return the maximum capacity of that core, which it seems like to cpu_capacity_orig, but I can’t figure out what "cpu_capacity" is used for.
Could someone help me, please? Thanks a lot!