Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6334

Energy Aware Scheduler: what is the purpose of cpu_capacity?

$
0
0

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!


Viewing all articles
Browse latest Browse all 6334

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>