]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/32: Set user/kernel boundary at TASK_SIZE instead of PAGE_OFFSET
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 29 Jun 2020 11:15:23 +0000 (11:15 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 14:01:30 +0000 (00:01 +1000)
commit23f894d1a19f58e4444f05f3f83af6a834f52048
tree0100142b94e27eec5f0db65d8a7beeb783277a8e
parentf5415ee40dd603d86e4d57a00e1786e6dc1c1add
powerpc/32: Set user/kernel boundary at TASK_SIZE instead of PAGE_OFFSET

User space stops at TASK_SIZE. At the moment, kernel space starts
at PAGE_OFFSET.

In order to use space between TASK_SIZE and PAGE_OFFSET for modules,
make TASK_SIZE the limit between user and kernel space.

Note that fault.c already considers TASK_SIZE as the boundary between
user and kernel space.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b38b52cd8dabbb56fbd6f9219d6f3cdccbb43b44.1593428200.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/page.h
arch/powerpc/mm/ptdump/ptdump.c