mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-29 22:48:20 +00:00
ke/wait: add wait_reason
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ fn wait_for_pages(old_ipl: ke.Ipl) void {
|
||||
|
||||
list_lock.release(ipl);
|
||||
|
||||
_ = ke.wait.wait_one(&free_page_event.hdr, .{}) catch unreachable;
|
||||
_ = ke.wait.wait_one(&free_page_event.hdr, "wait_for_pages", .{}) catch unreachable;
|
||||
|
||||
ipl = list_lock.acquire();
|
||||
cnt = free_pages;
|
||||
|
||||
Reference in New Issue
Block a user