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)
commit63f61a6f4633ff34c17bea7a0ed827eaeb0733e1
tree5f8ae725b84635f441485ff6d68d6c105ebb8292
parent3f5ec5e06d6ca88168277247dbac0ec7b501600f
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>
fs/proc/task_mmu.c