mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
pmm: optimization
This commit is contained in:
@@ -132,6 +132,9 @@ void* pmm_alloc(size_t count){
|
||||
|
||||
|
||||
spinlock_release(&lock);
|
||||
|
||||
if(count == 1)
|
||||
lastfree = addr;
|
||||
|
||||
return addr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user