mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 09:56:00 +00:00
d3a4f48d48
Hello, Following my discussion with Andi. Here is a patch that introduces two new TIF flags to simplify the context switch code in __switch_to(). The idea is to minimize the number of cache lines accessed in the common case, i.e., when neither the debug registers nor the I/O bitmap are used. This patch covers the x86-64 modifications. A patch for i386 follows. Changelog: - add TIF_DEBUG to track when debug registers are active - add TIF_IO_BITMAP to track when I/O bitmap is used - modify __switch_to() to use the new TIF flags <signed-off-by>: eranian@hpl.hp.com Signed-off-by: Andi Kleen <ak@suse.de> |
||
---|---|---|
.. | ||
audit.c | ||
fpu32.c | ||
ia32_aout.c | ||
ia32_binfmt.c | ||
ia32_signal.c | ||
ia32entry.S | ||
ipc32.c | ||
Makefile | ||
mmap32.c | ||
ptrace32.c | ||
sys_ia32.c | ||
syscall32_syscall.S | ||
syscall32.c | ||
tls32.c | ||
vsyscall-sigreturn.S | ||
vsyscall-syscall.S | ||
vsyscall-sysenter.S | ||
vsyscall.lds |