Skip to content

Text Edit Lock / text poke

Mathieu Desnoyers lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11Fall back on interrupt disable in cmpxchg8b on 80386 and 80486arch/i386/kernel/cpu/intel.c include/asm-i386/cmpxchg.h+85 -321 reply
2/11Kprobes - use a mutex to protect the instruction pages list.kernel/kprobes.c+21 -61 reply
3/11Kprobes - do not use kprobes mutex in arch codearch/i386/kernel/kprobes.c arch/ia64/kernel/kprobes.c arch/powerpc/kernel/kprobes.c +4 more+2 -121 reply
4/11Kprobes - declare kprobe_mutex statickernel/kprobes.c+1 -11 reply
5/11Text Edit Lock - Architecture Independent Codeinclude/linux/memory.h mm/memory.c+41 -00 replies
6/11Text Edit Lock - Alternative code for i386 and x86_64arch/i386/kernel/alternative.c arch/i386/kernel/paravirt.c include/asm-i386/alternative.h +1 more+161 -290 replies
7/11Text Edit Lock - kprobes architecture independent supportkernel/kprobes.c+15 -60 replies
8/11Text Edit Lock - kprobes i386arch/i386/kernel/kprobes.c+2 -20 replies
9/11Text Edit Lock - kprobes x86_64arch/x86_64/kernel/kprobes.c+2 -20 replies
10/11Text Edit Lock - i386 standardize debug rodataarch/i386/mm/init.c+5 -120 replies
11/11Text Edit Lock - x86_64 standardize debug rodataarch/x86_64/mm/init.c+5 -180 replies

Reviews trailers per patch

3 of 11 patches have a Reviewed-by or Acked-by.

PatchAnanth N Mavinakayanahalli
1/11
2/11A-b
3/11A-b
4/11A-b
5/11
6/11
7/11
8/11
9/11
10/11
11/11

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/11] Text Edit Lock / text poke

Hi Andrew,

This new version includes a rewrite of the i386 and x86_64 text edit lock using text poke. I clear and set the WP cr0 bit instead of changing the page attributes when patching RO code.

It applies to 2.6.23-rc2-mm2 in this order:

kprobes-use-mutex-for-insn-pages.patch kprobes-dont-use-kprobes-mutex-in-arch-code.patch kprobes-declare-kprobes-mutex-static.patch text-edit-lock-architecture-independent-code.patch text-edit-lock-alternative-i386-and-x86_64.patch text-edit-lock-kprobes-architecture-independent.patch text-edit-lock-kprobes-i386.patch text-edit-lock-kprobes-x86_64.patch text-edit-lock-i386-standardize-debug-rodata.patch text-edit-lock-x86_64-standardize-debug-rodata.patch

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