summaryrefslogtreecommitdiff
path: root/Kernel/Memory/Region.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-02-02 11:02:54 +0100
committerAndreas Kling <kling@serenityos.org>2022-02-02 11:02:54 +0100
commitd85f06299087dc939e7aeb2dc0668a01db30ad2b (patch)
tree96ec3b8b05babe39d89f2427d1cd6e2099250dc5 /Kernel/Memory/Region.h
parent1c5ffaae41be4e67f81b46c3bfdce7f54a1dc8e0 (diff)
downloadserenity-d85f06299087dc939e7aeb2dc0668a01db30ad2b.zip
Revert "Kernel: Only update page tables for faulting region"
This reverts commit 1c5ffaae41be4e67f81b46c3bfdce7f54a1dc8e0. This broke shared memory as used by OutOfProcessWebView. Let's do a revert until we can figure out what went wrong.
Diffstat (limited to 'Kernel/Memory/Region.h')
-rw-r--r--Kernel/Memory/Region.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/Memory/Region.h b/Kernel/Memory/Region.h
index 810a466ba9..e977eecc8b 100644
--- a/Kernel/Memory/Region.h
+++ b/Kernel/Memory/Region.h
@@ -196,7 +196,8 @@ public:
private:
Region(VirtualRange const&, NonnullRefPtr<VMObject>, size_t offset_in_vmobject, OwnPtr<KString>, Region::Access access, Cacheable, bool shared);
- [[nodiscard]] bool remap_individual_page(size_t page_index, ShouldFlushTLB = ShouldFlushTLB::Yes);
+ [[nodiscard]] bool remap_vmobject_page(size_t page_index, bool with_flush = true);
+ [[nodiscard]] bool do_remap_vmobject_page(size_t page_index, bool with_flush = true);
void set_access_bit(Access access, bool b)
{