]> err.no Git - linux-2.6/commit
[PATCH] mm: parisc pte atomicity
authorHugh Dickins <hugh@veritas.com>
Sun, 30 Oct 2005 01:16:36 +0000 (18:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 30 Oct 2005 04:40:42 +0000 (21:40 -0700)
commit92dc6fcc845d99e87d8168e0786796525832d130
treeac36da7e3dc3e0ba62d4139443beb7eb7c25288d
parent69b0475456ff7ef520e16f69d7a15c0d68b74e64
[PATCH] mm: parisc pte atomicity

There's a worrying function translation_exists in parisc cacheflush.h,
unaffected by split ptlock since flush_dcache_page is using it on some other
mm, without any relevant lock.  Oh well, make it a slightly more robust by
factoring the pfn check within it.  And it looked liable to confuse a
camouflaged swap or file entry with a good pte: fix that too.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/parisc/kernel/cache.c
include/asm-parisc/cacheflush.h