Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-25 | Tests: Use new global variables at /sys/kernel/ directory | Liav A | |
2022-10-16 | Kernel: Use more fine-grained content data block granularity in TmpFS | Liav A | |
Instead of just having a giant KBuffer that is not resizeable easily, we use multiple AnonymousVMObjects in one Vector to store them. The idea is to not have to do giant memcpy or memset each time we need to allocate or de-allocate memory for TmpFS inodes, but instead, we can allocate only the desired block range when trying to write to it. Therefore, it is also possible to have data holes in the inode content in case of skipping an entire set of one data block or more when writing to the inode content, thus, making memory usage much more efficient. To ensure we don't run out of virtual memory range, don't allocate a Region in advance to each TmpFSInode, but instead try to allocate a Region on IO operation, and then use that Region to map the VMObjects in IO loop. | |||
2022-04-01 | Everywhere: Run clang-format | Idan Horowitz | |
2022-03-24 | Userland+Tests: Convert File::read_link() from String to ErrorOr<String> | Kenneth Myhra | |
This converts the return value of File::read_link() from String to ErrorOr<String>. The rest of the change is to support the potential of an Error being returned and subsequent release of the value when no Error is returned. Unfortunately at this stage none of the places affected can utililize our TRY() macro. | |||
2021-07-11 | Userland+Tests: Convert test_io to be LibTest based | Andrew Kaster | |
Add a few extra tests as well, to make sure we don't have any future TmpFs regressions. |