Re: question about pt locking

From: Shentino
Date: Fri Mar 20 2009 - 05:24:37 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/