From: Zachary Amsden Date: Sat, 3 Sep 2005 22:55:06 +0000 (-0700) Subject: [PATCH] x86_64: avoid some atomic operations during address space destruction X-Git-Tag: v2.6.14-rc1~953 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61e06037e764337da39dff307cbcdbe9cf288349;p=pandora-kernel.git [PATCH] x86_64: avoid some atomic operations during address space destruction Any architecture that has hardware updated A/D bits that require synchronization against other processors during PTE operations can benefit from doing non-atomic PTE updates during address space destruction. Originally done on i386, now ported to x86_64. Doing a read/write pair instead of an xchg() operation saves the implicit lock, which turns out to be a big win on 32-bit (esp w PAE). Signed-off-by: Zachary Amsden Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed