mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 21:00:06 +00:00
When we get a COW fault and discover that whoever we were COW'ing together with has either COW'ed that page on their end (or they have unmapped/exited) we simplify life for ourselves by clearing the COW bit and keeping the page we already have. (No need to COW if the page is not shared!) The act of doing this does not return a committed page to the pool. In fact, that committed page we had reserved for this purpose was used up (allocated) by our COW buddy when they COW'ed the page. This fixes a kernel panic when running TestLibCMkTemp. :^)
13 KiB
13 KiB