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

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

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2004-05-26 04:22:18
Also in: linux-arch, lkml

On Wed, 2004-05-26 at 14:12, Benjamin Herrenschmidt wrote:
On Wed, 2004-05-26 at 14:08, Linus Torvalds wrote:
quoted
You're right. We do use it on the do_wp_page() path, and there we actually 
use a whole new page in the "break_cow()" case. That case is in fact 
fundamentally different from the other ones.

So we should probably break up the "ptep_establish()" into its two pieces,
since the callers don't actually want to do the same thing. One really
wants to do a "clear old one, set a totally new one", and the two other
places want to actually update just the dirty and accessed bits.
Hrm... Still dies, some kind of loop it seems, I'll have a look

Ben.


--
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