diff options
author | Will Deacon <will.deacon@arm.com> | 2012-04-25 16:01:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-04-25 21:26:34 -0700 |
commit | 63f61a6f4633ff34c17bea7a0ed827eaeb0733e1 (patch) | |
tree | 5f8ae725b84635f441485ff6d68d6c105ebb8292 /fs | |
parent | 3f5ec5e06d6ca88168277247dbac0ec7b501600f (diff) | |
download | linux-3.10-63f61a6f4633ff34c17bea7a0ed827eaeb0733e1.tar.gz linux-3.10-63f61a6f4633ff34c17bea7a0ed827eaeb0733e1.tar.bz2 linux-3.10-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')
-rw-r--r-- | fs/proc/task_mmu.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index 2b9a7607cbd..2d60492d6df 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); |