diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-26 12:07:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-26 12:07:21 -0700 |
commit | 602033ed5907a59ce86f709082a35be047743a86 (patch) | |
tree | 35c9f4b3d09dd02a9088e8932f963498d5c33d98 /kernel/sys.c | |
parent | 07d4e9af109221ab731c5aaf832e89776c64b013 (diff) | |
download | lwn-602033ed5907a59ce86f709082a35be047743a86.tar.gz lwn-602033ed5907a59ce86f709082a35be047743a86.zip |
Revert most of "x86: Fix alternatives and kprobes to remap write-protected kernel text"
This reverts most of commit 19d36ccdc34f5ed444f8a6af0cbfdb6790eb1177.
The way to DEBUG_RODATA interactions with KPROBES and CPU hotplug is to
just not mark the text as being write-protected in the first place.
Both of those facilities depend on rewriting instructions.
Having "helpful" debug facilities that just cause more problem is not
being helpful. It just adds complexity and bugs. Not worth it.
Reported-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Andi Kleen <ak@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions