question about pt locking
Just curious, but does a process effectively have a read-lock on its page tables when it's in userland?
-- a curious newbie
Quoted 2 lines · Shentino
Just curious, but does a process effectively have a read-lock on its page tables when it's in userland?
No, page reclaim can fiddle with a running process' page tables concurrently.
Quoted 6 lines · Peter Zijlstra
Quoted 2 lines · Shentino
Just curious, but does a process effectively have a read-lock on its page tables when it's in userland?
No, page reclaim can fiddle with a running process' page tables concurrently.
Yeah just now remembered why the kernel has tlb inval/flush routines
...duh...
Thanks for the answers though, I learned something today.