vmm_cacheheader firstfree

keep track of the first free entry of each cache to make searching quicker
This commit is contained in:
Matheus
2022-07-27 20:44:34 -03:00
parent 940c39c0de
commit ed866b05a9
2 changed files with 10 additions and 9 deletions
+1
View File
@@ -16,6 +16,7 @@ struct vmm_cacheheader;
typedef struct{
int lock;
size_t firstfree;
struct vmm_cacheheader* next;
size_t freecount;
} vmm_cacheheader;