ladybird/Kernel/VM
Andreas Kling 6eab7b398d Kernel: Make ProcessPagingScope restore CR3 properly
Instead of restoring CR3 to the current process's paging scope when a
ProcessPagingScope goes out of scope, we now restore exactly whatever
the CR3 value was when we created the ProcessPagingScope.

This fixes breakage in situations where a process ends up with nested
ProcessPagingScopes. This was making profiling very fragile, and with
this change it's now possible to profile g++! :^)
2020-01-19 13:44:53 +01:00
..
AnonymousVMObject.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
AnonymousVMObject.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
InodeVMObject.cpp Kernel: Enforce W^X between sys$mmap() and sys$execve() 2020-01-18 23:40:12 +01:00
InodeVMObject.h Kernel: Enforce W^X between sys$mmap() and sys$execve() 2020-01-18 23:40:12 +01:00
MemoryManager.cpp Kernel: Make ProcessPagingScope restore CR3 properly 2020-01-19 13:44:53 +01:00
MemoryManager.h Kernel: Make ProcessPagingScope restore CR3 properly 2020-01-19 13:44:53 +01:00
PageDirectory.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PageDirectory.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PhysicalAddress.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PhysicalPage.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PhysicalPage.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PhysicalRegion.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PhysicalRegion.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PurgeableVMObject.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PurgeableVMObject.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
RangeAllocator.cpp Kernel: Optimize VM range deallocation a bit 2020-01-19 13:29:59 +01:00
RangeAllocator.h Kernel: Optimize VM range deallocation a bit 2020-01-19 13:29:59 +01:00
Region.cpp Kernel: Assert that copy_to/from_user() are called with user addresses 2020-01-19 09:18:55 +01:00
Region.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
VirtualAddress.h Kernel: Assert that copy_to/from_user() are called with user addresses 2020-01-19 09:18:55 +01:00
VMObject.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
VMObject.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00