revert "proc: clear_refs: do not clear reserved pages"
authorWill Deacon <will.deacon@arm.com>
Wed, 25 Apr 2012 23:01:52 +0000 (16:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 Apr 2012 04:26:34 +0000 (21:26 -0700)
commit20c3110263349f702d0c7664fa9a633c84fa5642
tree5f8ae725b84635f441485ff6d68d6c105ebb8292
parent7905dc00b3d12997bb6a77b73b1f1fe27930cc0f
revert "proc: clear_refs: do not clear reserved pages"

Revert commit 94d77b732e4 ("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 61eeb67b ("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>
fs/proc/task_mmu.c