brody-qq
brody-qq
This PR fixes the following problems related to anonymous mmaps: * After a fork, writes to an anonymous mmap cause redundant page faults (#24637) * Writes to a shared anonymous...
I got the following kernel panic when running a program that repeatedly fork()s new processes: ``` 425.338 [#0 ResourceGraph.Applet(31:31)]: test-fork-crash(3262) resident:436, shared:436, virtual:3075 425.338 [#0 ResourceGraph.Applet(31:31)]: Shell(40) resident:825, shared:825, virtual:2656...
If you create an anonymous mmap, and then fork, any writes you make to that mmap will cause 2 page faults instead of 1. How to reproduce: Apply the following...
If an mmap is created with flags MAP_SHARED | MAP_ANONYMOUS, that mmap will be inherited by child processes, and any writes to the mmap in the child process should be...
This PR fixes this issue https://github.com/SerenityOS/serenity/issues/15951 * Pages of file mmap regions with no writes to them are marked as clean * Writing to a clean page will mark the...
This PR has commits with the following changes: * Reduce the number of `kmalloc()` an `kfree()` calls in `Ext2FSInode::compute_block_list_impl()` by reducing the number of times `ByteBuffer`s are created and destroyed....