Only COW on fault if the physical page has retain_count > 1.

This makes COW pages lazily-but-transparently revert back to read/write.
This commit is contained in:
Andreas Kling 2018-11-05 14:10:18 +01:00
commit 9e62eb4856
Notes: sideshowbarker 2024-07-19 18:33:36 +09:00
4 changed files with 17 additions and 2 deletions

View file

@ -8,6 +8,8 @@
#include "IRQHandler.h"
#include "PIC.h"
//#define PAGE_FAULT_DEBUG
struct DescriptorTablePointer {
WORD size;
void* address;