mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 10:53:16 +01:00
Normally anon && shared pages need to COW once and any newer accesses by other sharing processes should simply map the COW'ed pages to themselves as writeable. We didn't have that but instead every ANON && SHARED write fault was going into the COW path, causing the same offset'ed page to be COW'ed twice. Next: Factor out the l4_map code to a common point at the end of all fault handling paths.