1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

Kernel: Flush TLB when quick-mapping PD/PT that was mapped on other CPU

If a PD/PT was quick-mapped by another CPU we still need to flush the
TLB on the current CPU.

Fixes #3885
This commit is contained in:
Tom 2020-10-31 17:19:50 -06:00 committed by Andreas Kling
parent 8c4a2c34d3
commit 13aa3d2d62
2 changed files with 19 additions and 0 deletions

View file

@ -70,6 +70,9 @@ class SynthFSInode;
struct MemoryManagerData {
SpinLock<u8> m_quickmap_in_use;
u32 m_quickmap_prev_flags;
PhysicalAddress m_last_quickmap_pd;
PhysicalAddress m_last_quickmap_pt;
};
extern RecursiveSpinLock s_mm_lock;