mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
23a7ccf607
This is a preparation before we can create a usable mechanism to use filesystem-specific mount flags. To keep some compatibility with userland code, LibC and LibCore mount functions are kept being usable, but now instead of doing an "atomic" syscall, they do multiple syscalls to perform the complete procedure of mounting a filesystem. The FileBackedFileSystem IntrusiveList in the VFS code is now changed to be protected by a Mutex, because when we mount a new filesystem, we need to check if a filesystem is already created for a given source_fd so we do a scan for that OpenFileDescription in that list. If we fail to find an already-created filesystem we create a new one and register it in the list if we successfully mounted it. We use a Mutex because we might need to initiate disk access during the filesystem creation, which will take other mutexes in other parts of the kernel, therefore making it not possible to take a spinlock while doing this. |
||
---|---|---|
.. | ||
AtomicEdgeAction.h | ||
Coredump.cpp | ||
Coredump.h | ||
CrashHandler.cpp | ||
FinalizerTask.cpp | ||
FinalizerTask.h | ||
FutexQueue.cpp | ||
FutexQueue.h | ||
PerformanceEventBuffer.cpp | ||
PerformanceEventBuffer.h | ||
PerformanceManager.h | ||
Process.cpp | ||
Process.h | ||
ProcessGroup.cpp | ||
ProcessGroup.h | ||
ProcessList.cpp | ||
Scheduler.cpp | ||
Scheduler.h | ||
SyncTask.cpp | ||
SyncTask.h | ||
Thread.cpp | ||
Thread.h | ||
ThreadBlockers.cpp | ||
ThreadTracer.cpp | ||
ThreadTracer.h | ||
WaitQueue.cpp | ||
WaitQueue.h | ||
WorkQueue.cpp | ||
WorkQueue.h |