2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 11:13:58 +08:00
linux-next/arch/um/os-Linux
Anton Ivanov 5c2ffce1e9 um: Revert to using stack for pt_regs in signal handling
Reverts commit b6024b21fe and
adjusts default stack sizing to cope with larger size of
floating point save registers on the newer Intel CPUs.

b6024b21fe replaced storing the
register state on the stack with kmalloc-ed storage. That has
a number of issues and a panic if that fails.
    1. kmalloc/ATOMIC can fail. There was a latent hard crash
in all interrupt and fault handling as a result.
    2. kmalloc in the interrupt path introduces a considerable
performance penalty for networking ~ 14% on iperf.

This commit restores uml to a stable state until a better
solution is found.

Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2019-05-07 23:18:28 +02:00
..
drivers um: return negative in tuntap_open_tramp() 2017-09-13 22:36:50 +02:00
skas um: Give start_idle_thread() a return code 2018-10-29 22:23:11 +01:00
elf_aux.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
execvp.c um: Use os_warn to print out pre-boot warning/error messages 2017-07-05 23:18:25 +02:00
file.c um: Add support for DISCARD in the UBD Driver 2018-12-27 22:48:20 +01:00
helper.c um: Fix waitpid() usage in helper code 2015-10-19 22:53:37 +02:00
irq.c Epoll based IRQ controller 2018-02-19 19:38:51 +01:00
main.c um: remove uml initcalls 2018-06-10 22:49:14 +02:00
Makefile um: remove unused AIO code 2018-10-29 22:23:12 +01:00
mem.c um: Use os_warn to print out pre-boot warning/error messages 2017-07-05 23:18:25 +02:00
process.c um: Switch clocksource to hrtimers 2015-11-06 22:54:49 +01:00
registers.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
sigio.c um: Cleanup SIGTERM handling 2013-09-07 10:56:58 +02:00
signal.c um: Revert to using stack for pt_regs in signal handling 2019-05-07 23:18:28 +02:00
start_up.c Fix minor typos and grammar in UML start_up help 2017-09-13 22:33:23 +02:00
time.c um: Switch clocksource to hrtimers 2015-11-06 22:54:49 +01:00
tty.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
umid.c um: Use os_warn to print out pre-boot warning/error messages 2017-07-05 23:18:25 +02:00
user_syms.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
util.c um: Add os_warn() for pre-boot warning/error messages 2017-07-05 23:18:02 +02:00