Commit 63f61a6f authored by Will Deacon's avatar Will Deacon Committed by Linus Torvalds
Browse files

revert "proc: clear_refs: do not clear reserved pages"

Revert commit 85e72aa5 ("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:

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: default avatarWill Deacon <>
Cc: Nicolas Pitre <>
Acked-by: default avatarHugh Dickins <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 3f5ec5e0
......@@ -597,9 +597,6 @@ static int clear_refs_pte_range(pmd_t *pmd, unsigned long addr,
if (!page)
if (PageReserved(page))
/* Clear accessed and referenced bits. */
ptep_test_and_clear_young(vma, addr, pte);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment