diff options
author | Hugh Dickins <hugh@veritas.com> | 2005-10-29 21:16:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 00:40:42 -0400 |
commit | 92dc6fcc845d99e87d8168e0786796525832d130 (patch) | |
tree | ac36da7e3dc3e0ba62d4139443beb7eb7c25288d /mm/swapfile.c | |
parent | 69b0475456ff7ef520e16f69d7a15c0d68b74e64 (diff) |
[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>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions