Andi Kleen
19d36ccdc3
x86: Fix alternatives and kprobes to remap write-protected kernel text
...
Reenable kprobes and alternative patching when the kernel text is write
protected by DEBUG_RODATA
Add a general utility function to change write protected text. The new
function remaps the code using vmap to write it and takes care of CPU
synchronization. It also does CLFLUSH to make icache recovery faster.
There are some limitations on when the function can be used, see the
comment.
This is a newer version that also changes the paravirt_ops code.
text_poke also supports multi byte patching now.
Contains bug fixes from Zach Amsden and suggestions from Mathieu
Desnoyers.
Cc: Jan Beulich <jbeulich@novell.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Mathieu Desnoyers <compudj@krystal.dyndns.org>
Cc: Zach Amsden <zach@vmware.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-22 11:03:37 -07:00
..
acpi
x86_64: fake pxm-to-node mapping for fake numa
2007-07-21 18:37:10 -07:00
asm-alpha
[PATCH] sched: sched_cacheflush is now unused
2007-07-19 21:28:35 +02:00
asm-arm
[PATCH] sched: sched_cacheflush is now unused
2007-07-19 21:28:35 +02:00
asm-arm26
[PATCH] sched: sched_cacheflush is now unused
2007-07-19 21:28:35 +02:00
asm-avr32
arch: personality independent stack top
2007-07-19 10:04:45 -07:00
asm-blackfin
fbdev: detect primary display device
2007-07-17 10:23:11 -07:00
asm-cris
arch: personality independent stack top
2007-07-19 10:04:45 -07:00
asm-frv
arch: personality independent stack top
2007-07-19 10:04:45 -07:00
asm-generic
i386: Put allocated ELF notes in read-only data segment
2007-07-19 10:04:47 -07:00
asm-h8300
arch: personality independent stack top
2007-07-19 10:04:45 -07:00
asm-i386
x86: Fix alternatives and kprobes to remap write-protected kernel text
2007-07-22 11:03:37 -07:00
asm-ia64
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
2007-07-20 12:02:20 -07:00
asm-m32r
[PATCH] sched: sched_cacheflush is now unused
2007-07-19 21:28:35 +02:00
asm-m68k
m68k iomem (based on Geert's tree + memcpy_... stuff)
2007-07-20 08:24:49 -07:00
asm-m68knommu
m68knommu: remove is_in_rom() function
2007-07-19 10:04:51 -07:00
asm-mips
[MIPS] User stack pointer randomisation
2007-07-20 18:57:40 +01:00
asm-parisc
[PATCH] sched: sched_cacheflush is now unused
2007-07-19 21:28:35 +02:00
asm-powerpc
[CELL] spufs: rework list management and associated locking
2007-07-20 21:42:28 +02:00
asm-ppc
[PATCH] sched: sched_cacheflush is now unused
2007-07-19 21:28:35 +02:00
asm-s390
[PATCH] sched: sched_cacheflush is now unused
2007-07-19 21:28:35 +02:00
asm-sh
sh: intc - add support for SH7750 and its variants
2007-07-20 18:44:49 +09:00
asm-sh64
sh64: Wire up fallocate() syscall.
2007-07-20 12:37:51 +09:00
asm-sparc
[SPARC32]: Make PAGE_SHARED a read-mostly variable.
2007-07-21 19:20:34 -07:00
asm-sparc64
[SPARC64]: Convert parport to of_platform_driver.
2007-07-20 17:15:35 -07:00
asm-um
arch: personality independent stack top
2007-07-19 10:04:45 -07:00
asm-v850
fbdev: detect primary display device
2007-07-17 10:23:11 -07:00
asm-x86_64
x86: Fix alternatives and kprobes to remap write-protected kernel text
2007-07-22 11:03:37 -07:00
asm-xtensa
arch: personality independent stack top
2007-07-19 10:04:45 -07:00
crypto
keys
linux
x86: i386-show-unhandled-signals-v3
2007-07-22 11:03:37 -07:00
math-emu
media
V4L/DVB (5835): saa7146/dvb-ttpci: Fix signedness warnings (gcc 4.1.1, kernel 2.6.22)
2007-07-18 14:24:44 -03:00
mtd
UBI: kill homegrown endian macros
2007-07-18 16:53:49 +03:00
net
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6
2007-07-19 14:42:40 -07:00
pcmcia
rdma
rxrpc
scsi
sound
[ALSA] version 1.0.14
2007-07-20 11:13:35 +02:00
video
tgafb: actually allocate memory for the pseudo_palette
2007-07-17 10:23:12 -07:00
xen
xen: Place vcpu_info structure into per-cpu memory
2007-07-18 08:47:45 -07:00
Kbuild