Re: [RFC] atomic pte updates and pae changes, take 2

From: Ingo Molnar (mingo@redhat.com)
Date: Sun Oct 15 2000 - 07:01:14 EST


On Sat, 14 Oct 2000, Stephen Tweedie wrote:

> Looks good. The only trouble I can see left is that pte_clear() is
> still using set_pte(), which doesn't work right for PAE36. set_pte()
> is setting the high word first, which is fine for installing a new
> pte, but if you do that to clear a pte then you have left the old
> page-present bit intact while you've removed have of the pte.
> pte_clear() needs to clear the words in the other order (just as
> pte_get_and_clear correctly does).

yep, that should make it work. The pgd operations must use 64-bit
instructions - the pmds are fine to be 64-bit for the time being, but they
can be changed to the pte logic as well.

        Ingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:28 EST