mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-27 13:58:20 +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);
|
||||
recompute_priority(curtd);
|
||||
cpu.current_thread_prio.store(curtd.priority, .monotonic);
|
||||
}
|
||||
|
||||
pelt_update_td(curtd, cpu, true);
|
||||
|
||||
Reference in New Issue
Block a user