diff options
author | Andreas Kling <kling@serenityos.org> | 2022-01-15 17:48:42 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-01-15 19:51:16 +0100 |
commit | 094b88e6a54dbc2cde11d558ae239eb8704c8898 (patch) | |
tree | 6bced1d83d5f412ff4cb25e9fae7b0537334e32d /Kernel/Panic.h | |
parent | c6adefcfc04c6e0a5bd85fa445da38975e5bd414 (diff) | |
download | serenity-094b88e6a54dbc2cde11d558ae239eb8704c8898.zip |
Kernel: Don't remap already non-writable regions when they become CoW
The only purpose of the remap() in Region::try_clone() is to ensure
non-writable page table entries for CoW regions. If a region is already
non-writable, there's no need to waste time updating the page tables.
Diffstat (limited to 'Kernel/Panic.h')
0 files changed, 0 insertions, 0 deletions