Kernel: Use spinlocks instead of mutexes for RWLock
All the operations are super fast, just checking or changing few integers, there is no need for a yielding mutex :^)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include <BAN/ScopeGuard.h>
|
||||
#include <kernel/BootInfo.h>
|
||||
#include <kernel/Lock/LockGuard.h>
|
||||
#include <kernel/Memory/Heap.h>
|
||||
#include <kernel/Memory/PageTable.h>
|
||||
#include <kernel/Storage/DiskCache.h>
|
||||
|
||||
Reference in New Issue
Block a user