diff options
author | Nikita Danilov <nikita@clusterfs.com> | 2005-05-01 08:58:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 08:58:36 -0700 |
commit | 81b4082dc7666e2bc5ec229d8e837f3bafb96883 (patch) | |
tree | d37c73b9fa3d3d321d0997113c9170b52aeb10b6 /include/asm-x86_64/smp.h | |
parent | 119f657c72fc07d6fd28c61de59cfba1566970a9 (diff) |
[PATCH] mm: rmap.c cleanup
mm/rmap.c:page_referenced_one() and mm/rmap.c:try_to_unmap_one() contain
identical code that
- takes mm->page_table_lock;
- drills through page tables;
- checks that correct pte is reached.
Coalesce this into page_check_address()
Signed-off-by: Nikita Danilov <nikita@clusterfs.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64/smp.h')
0 files changed, 0 insertions, 0 deletions