1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00
serenity/Kernel/FileSystem
Andreas Kling a96d76fd90 Kernel: Put all VMObjects in an InlineLinkedList instead of a HashTable
Using a HashTable to track "all instances of Foo" is only useful if we
actually need to look up entries by some kind of index. And since they
are HashTable (not HashMap), the pointer *is* the index.

Since we have the pointer, we can just use it directly. Duh.
This increase sizeof(VMObject) by two pointers, but removes a global
table that had an entry for every VMObject, where the cost was higher.
It also avoids all the general hash tabling business when creating or
destroying VMObjects. Generally we should do more of this. :^)
2019-08-08 11:11:22 +02:00
..
Custody.cpp AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr. 2019-06-21 18:37:47 +02:00
Custody.h AK: Rename Retainable.h => RefCounted.h. 2019-06-21 18:58:45 +02:00
DevPtsFS.cpp DevPtsFS: Use String::number() in a place where it makes sense. 2019-07-22 10:42:34 +02:00
DevPtsFS.h Kernel: Remove use of [[gnu::pure]]. 2019-07-16 13:44:41 +02:00
DiskBackedFileSystem.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
DiskBackedFileSystem.h Kernel: Fix all compiler warnings. 2019-06-22 16:22:34 +02:00
ext2_fs.h Add clang-format file 2019-05-28 17:31:20 +02:00
ext2_types.h Add clang-format file 2019-05-28 17:31:20 +02:00
Ext2FileSystem.cpp Ext2FS: Make some use of Vector::empend(). 2019-08-01 16:31:05 +02:00
Ext2FileSystem.h Kernel: Remove use of copy_ref() in favor of regular RefPtr copies. 2019-07-11 15:40:04 +02:00
FIFO.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
FIFO.h Kernel: Move File.{cpp,h} into FileSystem/ 2019-07-09 15:04:45 +02:00
File.cpp Kernel: Move File.{cpp,h} into FileSystem/ 2019-07-09 15:04:45 +02:00
File.h Kernel: Move VirtualAddress.h into VM/ 2019-07-09 15:04:45 +02:00
FileDescription.cpp Kernel: Some small refinements to the thread blockers. 2019-07-19 13:19:47 +02:00
FileDescription.h Kernel: Use KBuffers for ProcFS and SynthFS 2019-08-05 11:37:48 +02:00
FileSystem.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
FileSystem.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
Inode.cpp Kernel: Split VMObject into two classes: Anonymous- and InodeVMObject 2019-08-07 18:09:32 +02:00
Inode.h Kernel: Split VMObject into two classes: Anonymous- and InodeVMObject 2019-08-07 18:09:32 +02:00
InodeFile.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
InodeFile.h Kernel: Move File.{cpp,h} into FileSystem/ 2019-07-09 15:04:45 +02:00
InodeIdentifier.h StringView: Rename characters() to characters_without_null_termination(). 2019-07-08 15:38:44 +02:00
InodeMetadata.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
InodeWatcher.cpp Kernel: Add a mechanism for listening for changes to an inode. 2019-07-22 20:01:11 +02:00
InodeWatcher.h Kernel: Add a mechanism for listening for changes to an inode. 2019-07-22 20:01:11 +02:00
ProcFS.cpp Kernel: Put all VMObjects in an InlineLinkedList instead of a HashTable 2019-08-08 11:11:22 +02:00
ProcFS.h Kernel: Use KBuffers for ProcFS and SynthFS 2019-08-05 11:37:48 +02:00
SharedMemory.cpp Kernel: Split VMObject into two classes: Anonymous- and InodeVMObject 2019-08-07 18:09:32 +02:00
SharedMemory.h Kernel: Split VMObject into two classes: Anonymous- and InodeVMObject 2019-08-07 18:09:32 +02:00
SyntheticFileSystem.cpp SynthFS: Remove unused create_text_file() feature 2019-08-05 22:37:50 +02:00
SyntheticFileSystem.h SynthFS: Remove unused create_text_file() feature 2019-08-05 22:37:50 +02:00
VirtualFileSystem.cpp Kernel: Generalize VFS metadata lookup and use it in mount() and stat() 2019-08-02 19:28:18 +02:00
VirtualFileSystem.h Kernel: Generalize VFS metadata lookup and use it in mount() and stat() 2019-08-02 19:28:18 +02:00