mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +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
Notes:
sideshowbarker
2024-07-19 01:35:46 +09:00
Author: https://github.com/tomuta
Commit: 13aa3d2d62
Pull-request: https://github.com/SerenityOS/serenity/pull/3902
Issue: https://github.com/SerenityOS/serenity/issues/3885
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