Re: page fault fastpath: Increasing SMP scalability by introducingpte locks?

From: David S. Miller
Date: Sun Aug 15 2004 - 19:01:44 EST


On Sun, 15 Aug 2004 15:58:27 -0700 (PDT)
Christoph Lameter <clameter@xxxxxxx> wrote:

> On Sun, 15 Aug 2004, David S. Miller wrote:
>
> >
> > Is the read lock in the VMA semaphore enough to let you do
> > the pgd/pmd walking without the page_table_lock?
> > I think it is, but just checking.
>
> That would be great.... May I change the page_table lock to
> be a read write spinlock instead?

No, I means "is the read long _ON_ the VMA semaphore".
The VMA semaphore is a read/write semaphore, and we grab
it for reading in the code path you're modifying.

Please don't change page_table_lock to a rwlock, it's
only needed for write accesses.
-
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/