Just curious, but does a process effectively have a read-lock on its
page tables when it's in userland?
-- a curious newbie
On Fri, 2009-03-20 at 01:16 -0700, Shentino wrote:
> 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.
On Fri, Mar 20, 2009 at 09:52:10AM +0100, Peter Zijlstra wrote:
> On Fri, 2009-03-20 at 01:16 -0700, Shentino wrote:
> > 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.