pmm: optimization

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