pmm: optimization

This commit is contained in:
Matheus
2022-10-11 23:26:47 -03:00
parent defed64456
commit 144ad8cacf
+3
View File
@@ -133,6 +133,9 @@ void* pmm_alloc(size_t count){
spinlock_release(&lock); spinlock_release(&lock);
if(count == 1)
lastfree = addr;
return addr; return addr;
} }