mirror of
https://github.com/gatieme/LDD-LinuxDeviceDrivers.git
synced 2026-09-24 14:13:54 +08:00
CFS调度器之虚拟时钟...
This commit is contained in:
@@ -121,7 +121,7 @@ static inline u64 calc_delta_fair(u64 delta, struct sched_entity *se)
|
||||
|
||||
忽略舍入和溢出检查, calc_delta_fair函数所做的就是根据下列公式计算:
|
||||
|
||||
$$ delta =delta \times \dfrac{a}{b}$$
|
||||
$\dfrac{a}{b}$
|
||||
|
||||
|
||||
$$ delta =delta \times \dfrac{NICE\_0\_LOAD}{curr->se->load.weight}$$
|
||||
|
||||
Reference in New Issue
Block a user