diff options
author | Marcin Nowakowski <marcin.nowakowski@imgtec.com> | 2017-04-11 09:00:35 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-06-08 14:51:58 +0200 |
commit | 725a269b3dd149f36c206c218253336774ef26f5 (patch) | |
tree | bb94b125734012fa17524611a8e246479c44d8d9 /arch/mips/kernel/binfmt_elfo32.c | |
parent | 71eb989ab5a110df8bcbb9609bacde73feacbedd (diff) | |
download | linux-725a269b3dd149f36c206c218253336774ef26f5.tar.gz linux-725a269b3dd149f36c206c218253336774ef26f5.tar.bz2 linux-725a269b3dd149f36c206c218253336774ef26f5.zip |
MIPS: highmem: ensure that we don't use more than one page for PTEs
All PTEs used by PKMAP should be allocated in a contiguous memory area,
but we do not currently have a mechanism to enforce that, so ensure that
we don't try to allocate more entries than would fit in a single page.
Current fixed value of 1024 would not work with XPA enabled when
sizeof(pte_t)==8 and we need two pages to store pte tables.
Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15949/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/binfmt_elfo32.c')
0 files changed, 0 insertions, 0 deletions