-
- Downloads
x86, perf, bts, mm: Delete the never used BTS-ptrace code
Support for the PMU's BTS features has been upstreamed in v2.6.32, but we still have the old and disabled ptrace-BTS, as Linus noticed it not so long ago. It's buggy: TIF_DEBUGCTLMSR is trampling all over that MSR without regard for other uses (perf) and doesn't provide the flexibility needed for perf either. Its users are ptrace-block-step and ptrace-bts, since ptrace-bts was never used and ptrace-block-step can be implemented using a much simpler approach. So axe all 3000 lines of it. That includes the *locked_memory*() APIs in mm/mlock.c as well. Reported-by:Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by:
Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Roland McGrath <roland@redhat.com> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Markus Metzger <markus.t.metzger@intel.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Andrew Morton <akpm@linux-foundation.org> LKML-Reference: <20100325135413.938004390@chello.nl> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- arch/x86/Kconfig.cpu 0 additions, 20 deletionsarch/x86/Kconfig.cpu
- arch/x86/Kconfig.debug 0 additions, 9 deletionsarch/x86/Kconfig.debug
- arch/x86/include/asm/ds.h 0 additions, 302 deletionsarch/x86/include/asm/ds.h
- arch/x86/include/asm/processor.h 1 addition, 32 deletionsarch/x86/include/asm/processor.h
- arch/x86/include/asm/ptrace-abi.h 1 addition, 56 deletionsarch/x86/include/asm/ptrace-abi.h
- arch/x86/include/asm/ptrace.h 0 additions, 6 deletionsarch/x86/include/asm/ptrace.h
- arch/x86/include/asm/thread_info.h 1 addition, 5 deletionsarch/x86/include/asm/thread_info.h
- arch/x86/kernel/Makefile 0 additions, 2 deletionsarch/x86/kernel/Makefile
- arch/x86/kernel/cpu/intel.c 0 additions, 2 deletionsarch/x86/kernel/cpu/intel.c
- arch/x86/kernel/ds.c 0 additions, 1437 deletionsarch/x86/kernel/ds.c
- arch/x86/kernel/ds_selftest.c 0 additions, 408 deletionsarch/x86/kernel/ds_selftest.c
- arch/x86/kernel/ds_selftest.h 0 additions, 15 deletionsarch/x86/kernel/ds_selftest.h
- arch/x86/kernel/dumpstack.c 0 additions, 5 deletionsarch/x86/kernel/dumpstack.c
- arch/x86/kernel/kprobes.c 2 additions, 4 deletionsarch/x86/kernel/kprobes.c
- arch/x86/kernel/process.c 0 additions, 9 deletionsarch/x86/kernel/process.c
- arch/x86/kernel/process_32.c 0 additions, 8 deletionsarch/x86/kernel/process_32.c
- arch/x86/kernel/process_64.c 0 additions, 8 deletionsarch/x86/kernel/process_64.c
- arch/x86/kernel/ptrace.c 0 additions, 382 deletionsarch/x86/kernel/ptrace.c
- arch/x86/kernel/step.c 4 additions, 32 deletionsarch/x86/kernel/step.c
- arch/x86/kernel/traps.c 0 additions, 5 deletionsarch/x86/kernel/traps.c
Loading
Please register or sign in to comment