summaryrefslogtreecommitdiff
path: root/arch/x86/oprofile
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <krisman@collabora.com>2020-10-03 23:25:28 -0400
committerThomas Gleixner <tglx@linutronix.de>2020-10-26 13:46:46 +0100
commit214f0e804358cdd13b5cbe4445189f23e30618b4 (patch)
tree26375412b60264094acab4242858e156367f4deb /arch/x86/oprofile
parent375d4bfda57392f0865dae051e1c4bd2700e8d71 (diff)
x86/compat: Simplify compat syscall userspace allocation
When allocating user memory space for a compat system call, don't consider whether the originating code is IA32 or X32, just allocate from a safe region for both, beyond the redzone. This should be safe for IA32, and has the benefit of avoiding TIF_IA32, which is about to be removed. Suggested-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20201004032536.1229030-3-krisman@collabora.com
Diffstat (limited to 'arch/x86/oprofile')
0 files changed, 0 insertions, 0 deletions