brody-qq

Results 6 issues of 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...

👀 pr-needs-review
⚠️ pr-has-conflicts

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...

bug

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...

bug

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...

bug

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...

👀 pr-needs-review

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....

👀 pr-needs-review