summaryrefslogtreecommitdiffstats
path: root/fs/proc/task_mmu.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-04-26 01:01:52 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-04-26 06:26:34 +0200
commit63f61a6f4633ff34c17bea7a0ed827eaeb0733e1 (patch)
tree5f8ae725b84635f441485ff6d68d6c105ebb8292 /fs/proc/task_mmu.c
parentdrivers/rtc/rtc-ds1307.c: fix BUG shown with lock debugging enabled (diff)
downloadlinux-63f61a6f4633ff34c17bea7a0ed827eaeb0733e1.tar.xz
linux-63f61a6f4633ff34c17bea7a0ed827eaeb0733e1.zip
revert "proc: clear_refs: do not clear reserved pages"
Revert commit 85e72aa5384 ("proc: clear_refs: do not clear reserved pages"), which was a quick fix suitable for -stable until ARM had been moved over to the gate_vma mechanism: https://lkml.org/lkml/2012/1/14/55 With commit f9d4861f ("ARM: 7294/1: vectors: use gate_vma for vectors user mapping"), ARM does now use the gate_vma, so the PageReserved check can be removed from the proc code. Signed-off-by: Will Deacon <will.deacon@arm.com> Cc: Nicolas Pitre <nico@linaro.org> Acked-by: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/task_mmu.c')
-rw-r--r--fs/proc/task_mmu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 2b9a7607cbd5..2d60492d6df8 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -597,9 +597,6 @@ static int clear_refs_pte_range(pmd_t *pmd, unsigned long addr,
if (!page)
continue;
- if (PageReserved(page))
- continue;
-
/* Clear accessed and referenced bits. */
ptep_test_and_clear_young(vma, addr, pte);
ClearPageReferenced(page);