diff options
author | Hugh Dickins <hughd@google.com> | 2013-04-23 10:20:35 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-04-25 12:15:37 (GMT) |
commit | a0a9434dd50aac5971d63207ff1e25e69c9abdb3 (patch) | |
tree | 64af128498e7b5ff5944dcb43a1a499da583a906 /fs/proc/array.c | |
parent | b361d61dc1aaa9bdac0a0995e443c12146d916fd (diff) | |
download | linux-fsl-qoriq-a0a9434dd50aac5971d63207ff1e25e69c9abdb3.tar.xz |
ARM: 7701/1: mm: Allow arch code to control the user page table ceiling
On architectures where a pgd entry may be shared between user and kernel
(e.g. ARM+LPAE), freeing page tables needs a ceiling other than 0. This
patch introduces a generic USER_PGTABLES_CEILING that arch code can
override. It is the responsibility of the arch code setting the ceiling
to ensure the complete freeing of the page tables (usually in
pgd_free()).
[catalin.marinas@arm.com: commit log; shift_arg_pages(), asm-generic/pgtables.h changes]
Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: <stable@vger.kernel.org> # 3.3+
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions