]> Git Repo - linux.git/commit - mm/mmap.c
mm: allow arch code to control the user page table ceiling
authorHugh Dickins <[email protected]>
Mon, 29 Apr 2013 22:07:44 +0000 (15:07 -0700)
committerLinus Torvalds <[email protected]>
Mon, 29 Apr 2013 22:54:34 +0000 (15:54 -0700)
commit6ee8630e02be6dd89926ca0fbc21af68b23dc087
tree04c4cb8546541d59dac8d92ac1c7d7ee03ddc362
parentacb6d558f4c8fbacc8e774c9d7737220a3777882
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()).

[[email protected]: commit log; shift_arg_pages(), asm-generic/pgtables.h changes]
Signed-off-by: Hugh Dickins <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Cc: Russell King <[email protected]>
Cc: <[email protected]> [3.3+]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/exec.c
include/asm-generic/pgtable.h
mm/mmap.c
This page took 0.055673 seconds and 4 git commands to generate.