commit | 81b4082dc7666e2bc5ec229d8e837f3bafb96883 | [log] [tgz] |
---|---|---|
author | Nikita Danilov <nikita@clusterfs.com> | Sun May 01 08:58:36 2005 -0700 |
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | Sun May 01 08:58:36 2005 -0700 |
tree | d37c73b9fa3d3d321d0997113c9170b52aeb10b6 | |
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>