Thread (65 messages) 65 messages, 8 authors, 2004-05-27

Re: [PATCH] ppc64: Fix possible race with set_pte on a present PTE

From: Linus Torvalds <torvalds@osdl.org>
Date: 2004-05-25 22:30:26
Also in: linux-arch, lkml

On Wed, 26 May 2004, Benjamin Herrenschmidt wrote:
quoted
So I think the code needs to invalidate the hash after having updated the 
pte. No?
No, we'll take a hash fault, not a page fault. The hash fault is an asm
fast path, which in this case, will update the HPTE RW permission when
the PTE has PAGE_RW (and will set PAGE_DIRTY again, but that's fine).
Ahh. Goodie. Then the "simple" atomic bitset probably works. Assuming I 
translated the asm/atomic.h stuff correctly.

		Linus
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help