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

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

From: David S. Miller <hidden>
Date: 2004-05-25 17:26:58
Also in: linux-arch, lkml

On Tue, 25 May 2004 09:19:52 -0700 (PDT)
Linus Torvalds [off-list ref] wrote:
On Tue, 25 May 2004, Keith M Wesolowski wrote:
quoted
Some sparc32 CPUs are also vulnerable to this race; in fact the
supersparc manual describes it specifically and even outlines the
compare-exchange loop using our rotten swap instruction.  In our case,
the race is with a hardware walker.
Yes, but the sparc32 page tables are not the same as the linux kernel page 
tables, so in your case it's a different path and a different page table. 
Only the shared case really matters (ie things that do hw/microcode walk 
of a page table _tree_ not a hash).
Not true on 32-bit Sparc sun4m systems, it's exactly like i386 except
the hardware is stupid and we only have an atomic swap instruction.
:-)
--
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