]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mm: more rmap checking
authorNick Piggin <npiggin@suse.de>
Thu, 17 May 2007 05:11:21 +0000 (22:11 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 17 May 2007 12:23:06 +0000 (05:23 -0700)
commitc97a9e10eaee328e6eea9f76acf7bacd7d48ef56
treef14bf796d087e130452a2e2457c75eb1eca27483
parentea125892a17f43919c726777ed1e4929d41e7984
mm: more rmap checking

Re-introduce rmap verification patches that Hugh removed when he removed
PG_map_lock. PG_map_lock actually isn't needed to synchronise access to
anonymous pages, because PG_locked and PTL together already do.

These checks were important in discovering and fixing a rare rmap corruption
in SLES9.

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