linux/arch/x86
Peter Zijlstra c9987e379e mm, rt: kmap_atomic scheduling
In fact, with migrate_disable() existing one could play games with
kmap_atomic. You could save/restore the kmap_atomic slots on context
switch (if there are any in use of course), this should be esp easy now
that we have a kmap_atomic stack.

Something like the below.. it wants replacing all the preempt_disable()
stuff with pagefault_disable() && migrate_disable() of course, but then
you can flip kmaps around like below.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
[dvhart@linux.intel.com: build fix]
Link: http://lkml.kernel.org/r/1311842631.5890.208.camel@twins

[tglx@linutronix.de: Get rid of the per cpu variable and store the idx
		     and the pte content right away in the task struct.
		     Shortens the context switch code. ]
2020-10-14 00:59:20 +03:00
..
boot x86, build: replace Perl script with Shell script 2015-02-05 22:35:48 -08:00
configs x86, defconfig: Add DEVTMPFS and DEVTMPFS_MOUNT to *86*_defconfig 2013-11-04 20:01:55 -08:00
crypto crypto: aesni - fix memory usage in GCM decryption 2015-03-26 15:06:57 +01:00
ia32 x86_64, entry: Fix out of bounds read on sysenter 2014-11-14 08:59:47 -08:00
include x86: stackprotector: Avoid random pool on rt 2020-10-14 00:59:18 +03:00
kernel mm, rt: kmap_atomic scheduling 2020-10-14 00:59:20 +03:00
kvm KVM: MMU: fix CR4.SMEP=1, CR0.WP=0 with shadow pages 2015-06-06 08:19:31 -07:00
lguest x86, asmlinkage, lguest: Fix C functions used by inline assembler 2014-01-29 22:17:17 -08:00
lib x86, hash: Fix build failure with older binutils 2014-05-06 07:59:26 -07:00
math-emu x86: math-emu: Drop already-disabled print of build date 2014-01-27 23:14:12 +01:00
mm mm, rt: kmap_atomic scheduling 2020-10-14 00:59:20 +03:00
net x86: bpf_jit: fix compilation of large bpf programs 2015-06-22 17:01:16 -07:00
oprofile perf: Fix arch_perf_out_copy_user default 2013-11-06 12:34:25 +01:00
pci PCI: Add NEC variants to Stratus ftServer PCIe DMI check 2015-02-11 14:54:46 +08:00
platform x86/efi: Make efi virtual runtime map passing more robust 2014-04-14 06:50:02 -07:00
power nosave: consolidate __nosave_{begin,end} in <asm/sections.h> 2015-05-06 21:59:21 +02:00
realmode Merge commit 'f4bcd8ccddb02833340652e9f46f5127828eb79d' into x86/build 2014-01-29 09:07:00 -08:00
syscalls x86, x32: Use compat shims for io_{setup,submit} 2014-06-30 20:12:00 -07:00
tools x86, build: replace Perl script with Shell script 2015-02-05 22:35:48 -08:00
um x86, um: actually mark system call tables readonly 2015-01-27 08:18:58 -08:00
vdso x86/vdso: Fix the build on GCC5 2015-03-26 15:06:58 +01:00
video x86: Use vga_default_device() when determining whether an fb is primary 2012-04-24 09:50:17 +01:00
xen x86/xen: don't copy bogus duplicate entries into kernel page tables 2014-10-05 14:52:17 -07:00
.gitignore x86/kprobes: Add arch/x86/tools/insn_sanity to .gitignore 2012-01-16 08:21:59 +01:00
Kbuild x86, realmode: realmode.bin infrastructure 2012-05-08 11:41:48 -07:00
Kconfig x86: Use generic rwsem_spinlocks on -rt 2020-10-14 00:59:18 +03:00
Kconfig.cpu x86: Remove CONFIG_X86_OOSTORE 2014-03-11 10:16:18 -07:00
Kconfig.debug x86: Disable CONFIG_X86_DECODER_SELFTEST in allmod/allyesconfigs 2014-02-05 14:10:30 -08:00
Makefile x86-64, build: Fix stack protector Makefile breakage with 32-bit userland 2014-05-13 13:32:58 +02:00
Makefile.um um: fix linker script generation 2012-04-09 13:59:00 -04:00
Makefile_32.cpu x86, 386 removal: Remove CONFIG_M386 from Kconfig 2012-11-29 13:23:01 -08:00