mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-24 20:00:22 +00:00
scx-lavd: make the comments in update_sys_cpu_load() clear
The current description is a bit confusing, so update the comments for clarity. Signed-off-by: Changwoo Min <changwoo@igalia.com>
This commit is contained in:
parent
83169481a6
commit
31157ebc81
@ -681,9 +681,9 @@ static void update_sys_cpu_load(void)
|
||||
/*
|
||||
* Accumulate task's latency criticlity information.
|
||||
*
|
||||
* Updating cpuc->* is racy. However, it could degrade the
|
||||
* accuracy a little bit in very rare cases, so we do embrace
|
||||
* embrace for performance on purpose.
|
||||
* While updating cpu->* is racy, the resulting impact on
|
||||
* accuracy should be small and very rare and thus should be
|
||||
* fine.
|
||||
*/
|
||||
sum_lat_cri += cpuc->sum_lat_cri;
|
||||
cpuc->sum_lat_cri = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user