mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-31 15:28:21 +00:00
ke/sched: update priority in clock()
This commit is contained in:
@@ -403,6 +403,7 @@ pub fn clock(_: *ke.Dpc, _: ?*anyopaque) void {
|
|||||||
|
|
||||||
clamp_time(curtd);
|
clamp_time(curtd);
|
||||||
recompute_priority(curtd);
|
recompute_priority(curtd);
|
||||||
|
cpu.current_thread_prio.store(curtd.priority, .monotonic);
|
||||||
}
|
}
|
||||||
|
|
||||||
pelt_update_td(curtd, cpu, true);
|
pelt_update_td(curtd, cpu, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user