From ad99cc4245dd2dfda37e40146609e09cf2e409c6 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 14 Jul 2024 21:08:58 +0200 Subject: kernel: O(1) ReqQueue insertions --- src/kernel/vfs/request.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel/vfs/request.h') diff --git a/src/kernel/vfs/request.h b/src/kernel/vfs/request.h index 6786e72..45ec687 100644 --- a/src/kernel/vfs/request.h +++ b/src/kernel/vfs/request.h @@ -6,6 +6,7 @@ struct ReqQueue { VfsReq *head; + VfsReq **slot; /* points to the place where new entries should be placed */ }; struct VfsBackend { -- cgit v1.2.3