um: make stub data pages size tweakable
authorJohannes Berg <johannes.berg@intel.com>
Fri, 14 Apr 2023 13:46:39 +0000 (15:46 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 20 Apr 2023 21:08:43 +0000 (23:08 +0200)
commit6032aca0deb9c138df122192f8ef02de1fdccf25
treef9acfe2a2c09cfa1b3a86351b8bdf2ccd8fa48ef
parentfc54a4f15988e228cf88f888483e985c5f35031e
um: make stub data pages size tweakable

There's a lot of code here that hard-codes that the
data is a single page, and right now that seems to
be sufficient, but to make it easier to change this
in the future, add a new STUB_DATA_PAGES constant
and use it throughout the code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/include/shared/as-layout.h
arch/um/kernel/skas/clone.c
arch/um/kernel/skas/mmu.c
arch/um/kernel/um_arch.c
arch/um/os-Linux/skas/process.c
arch/x86/um/shared/sysdep/stub_32.h
arch/x86/um/shared/sysdep/stub_64.h
arch/x86/um/stub_segv.c