[PATCH] mm: pfault optimisation
authorNick Piggin <nickpiggin@yahoo.com.au>
Fri, 6 Jan 2006 08:11:13 +0000 (00:11 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:27 +0000 (08:33 -0800)
commit41e9b63b35b52cf918a4ffdb8d77862ab824aa8b
tree472ef8bb097f4e090f5fc95100acdbc77f515087
parent9617d95e6e9ffd883cf90a89724fe60d7ab22f9a
[PATCH] mm: pfault optimisation

This atomic operation is superfluous: the pte will be added with the
referenced bit set, and the page will be referenced through this mapping after
the page fault handler returns anyway.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/memory.c