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:
parent
8c4a2c34d3
commit
13aa3d2d62
2 changed files with 19 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue