kernel-hacking-2024-linux-s.../arch
Stephane Eranian d3a4f48d48 [PATCH] x86-64 TIF flags for debug regs and io bitmap in ctxsw
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>
2006-09-26 10:52:28 +02:00
..
alpha [PATCH] arch/alpha: Use ARRAY_SIZE macro 2006-07-31 13:28:38 -07:00
arm [ARM] 3794/1: S3C24XX: do not defined set_irq_wake when no CONFIG_PM 2006-09-18 13:30:20 +01:00
arm26
cris
frv [PATCH] sanitize frv archclean 2006-09-22 17:48:56 -07:00
h8300
i386 [PATCH] x86: Add portable getcpu call 2006-09-26 10:52:28 +02:00
ia64 [PATCH] cpu to node relationship fixup: map cpu to node 2006-09-25 17:38:36 -07:00
m32r
m68k
m68knommu
mips [MIPS] sparsemem: fix crash in show_mem 2006-07-13 21:26:22 +01:00
parisc [PATCH] vDSO hash-style fix 2006-07-31 13:28:43 -07:00
powerpc [PATCH] more fallout from get_property returning pointer to const 2006-09-23 11:34:43 -07:00
ppc [POWERPC] Fix compile error in sbc8560 2006-09-21 22:59:38 +10:00
s390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2006-09-22 12:51:33 -07:00
sh Fix 'make headers_check' on sh 2006-09-21 08:36:50 +01:00
sh64 sh64: Add a sane pm_power_off implementation. 2006-09-12 14:40:09 +09:00
sparc [PATCH] sun4: fix sbus_setup_iommu() 2006-09-22 17:48:57 -07:00
sparc64 [SPARC64]: Fix section-mismatch errors in solaris emul module. 2006-09-25 16:39:55 -07:00
um [PATCH] vDSO hash-style fix 2006-07-31 13:28:43 -07:00
v850 [PATCH] v850: call init_page_count() instead of set_page_count() 2006-07-31 13:28:38 -07:00
x86_64 [PATCH] x86-64 TIF flags for debug regs and io bitmap in ctxsw 2006-09-26 10:52:28 +02:00
xtensa [PATCH] xtensa: ptrace: EXIT_ZOMBIE fix 2006-09-01 11:39:08 -07:00