Skip to content

Text Edit Lock and Immediate Values for 2.6.25-rc8-mm1

Mathieu Desnoyers lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 29 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17Kprobes - use a mutex to protect the instruction pages list.kernel/kprobes.c+21 -61 reply
2/17Kprobes - do not use kprobes mutex in arch codearch/ia64/kernel/kprobes.c arch/powerpc/kernel/kprobes.c arch/s390/kernel/kprobes.c +2 more+0 -101 reply
3/17Kprobes - declare kprobe_mutex statickernel/kprobes.c+1 -11 reply
4/17x86 - Enhance DEBUG_RODATA support - alternativesarch/x86/kernel/alternative.c include/asm-x86/alternative.h+87 -240 replies
5/17x86 Fix text_poke for vmalloced pagesarch/x86/kernel/alternative.c+16 -110 replies
6/17x86 - Enhance DEBUG_RODATA support for hotplug and kprobesarch/x86/mm/init_32.c arch/x86/mm/init_64.c+11 -330 replies
7/17Text Edit Lock - Architecture Independent Codeinclude/linux/memory.h mm/memory.c+41 -00 replies
8/17Text Edit Lock - kprobes architecture independent supportkernel/kprobes.c+13 -40 replies
9/17Add all cpus option to stop machine runinclude/linux/stop_machine.h kernel/stop_machine.c+31 -85 replies
10/17Immediate Values - Architecture Independent Codeinclude/asm-generic/vmlinux.lds.h include/linux/immediate.h include/linux/module.h +4 more+358 -10 replies
11/17Implement immediate update via stop_machine_runkernel/immediate.c+21 -593 replies
12/17Immediate Values - Kconfig menu in EMBEDDEDinit/Kconfig+24 -04 replies
13/17Immediate Values - x86 Optimizationarch/x86/Kconfig include/asm-x86/immediate.h+78 -08 replies
14/17Add text_poke and sync_core to powerpcinclude/asm-powerpc/cacheflush.h+3 -10 replies
15/17Immediate Values - Powerpc Optimizationarch/powerpc/Kconfig include/asm-powerpc/immediate.h+56 -00 replies
16/17Immediate Values - DocumentationDocumentation/immediate.txt+221 -05 replies
17/17Scheduler Profiling - Use Immediate Valuesarch/x86/kvm/x86.c include/linux/profile.h kernel/profile.c +1 more+16 -180 replies

Reviews trailers per patch

4 of 17 patches have a Reviewed-by or Acked-by.

PatchAnanth N MavinakayanahalliMasami Hiramatsu
1/17A-b A-b
2/17A-b A-b
3/17A-b A-b
4/17
5/17
6/17
7/17
8/17A-b
9/17
10/17
11/17
12/17
13/17
14/17
15/17
16/17
17/17

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [patch 00/17] Text Edit Lock and Immediate Values for 2.6.25-rc8-mm1

Hi Andrew,

Here is the complete patchset required to get basic Immediate Values support ported to 2.6.25-rc8-mm1. It provides the "simple", non nmi-safe version of immediate values, which means that immediate values should not be used in code paths reachable by NMI or MCE handlers. This version also uses stop_machine_run() for immediate values updates, which is a very heavy lock. In order to make incremental, easy to review, changes, I think we could start by this "simple" version as a first step before we switch to the nmi-safe version later.

It applies at the end of your series files in the following order :

# The following patches are required for any kind of immediate values

# implementation
kprobes-use-mutex-for-insn-pages.patch
kprobes-dont-use-kprobes-mutex-in-arch-code.patch
kprobes-declare-kprobes-mutex-static.patch

x86-enhance-debug-rodata-support-alternatives.patch fix-text-poke-for-vmalloced-pages.patch x86-enhance-debug-rodata-support-for-hotplug-and-kprobes.patch

text-edit-lock-architecture-independent-code.patch text-edit-lock-kprobes-architecture-independent-support.patch

# The following patches provide non nmi-safe immediate values add-all-cpus-option-to-stop-machine-run.patch immediate-values-architecture-independent-code.patch implement-immediate-update-via-stop-machine-run.patch immediate-values-kconfig-menu-in-embedded.patch immediate-values-x86-optimization.patch add-text-poke-and-sync-core-to-powerpc.patch immediate-values-powerpc-optimization.patch immediate-values-documentation.patch

#Those are the immediate values users
scheduler-profiling-use-immediate-values.patch

Thanks,

Mathieu

Signature · 3 lines
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68