From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12704 invoked by alias); 3 Mar 2006 19:42:56 -0000 Received: (qmail 12684 invoked by uid 48); 3 Mar 2006 19:42:52 -0000 Date: Fri, 03 Mar 2006 19:42:00 -0000 Message-ID: <20060303194252.12683.qmail@sourceware.org> From: "anil dot s dot keshavamurthy at intel dot com" To: systemtap@sources.redhat.com In-Reply-To: <20060301202710.2408.anil.s.keshavamurthy@intel.com> References: <20060301202710.2408.anil.s.keshavamurthy@intel.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug kprobes/2408] [RHEL4 U4] Backport Kprobes fixes from mainline X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00695.txt.bz2 ------- Additional Comments From anil dot s dot keshavamurthy at intel dot com 2006-03-03 19:42 ------- Created an attachment (id=900) --> (http://sourceware.org/bugzilla/attachment.cgi?id=900&action=view) Single patch to address all the Kprobes backport issues Changes since previous attachment are: 1) Added the below check in kprobes exception handler code for all arch.(suggested by Ananth/Yanmin) if (args->regs && user_mode(args->regs)) return ret; 2) Fixed __kprobes macro which is not required for RHEL4(Bibo) 3) Added return 0; from arch_prepare_kprobe (suggested by Josh) 4)Back ported one more Fix of Ananth i,e Fix deadlock in function return probes 5) Removed trailing white space Pending...Waiting for Prasanna's kprobe fault handler code to be merged. Change summary: ------------------ arch/i386/kernel/kprobes.c | 50 ++++--- arch/i386/kernel/process.c | 8 - arch/ia64/kernel/jprobes.S | 27 ++++ arch/ia64/kernel/kprobes.c | 75 ++++++++++- arch/ia64/kernel/process.c | 7 - arch/ppc64/kernel/kprobes.c | 28 +++- arch/ppc64/kernel/process.c | 7 - arch/sparc64/kernel/kprobes.c | 4 arch/x86_64/kernel/kprobes.c | 133 ++------------------ arch/x86_64/kernel/process.c | 8 - include/asm-i386/kprobes.h | 14 -- include/asm-ia64/kprobes.h | 23 +-- include/asm-ppc64/kprobes.h | 12 - include/asm-sparc64/kprobes.h | 9 - include/asm-x86_64/kprobes.h | 6 include/linux/kprobes.h | 8 - include/linux/list.h | 21 +++ kernel/kprobes.c | 274 ++++++++++++++++++++++++++++++++---------- kernel/module.c | 3 kernel/sched.c | 9 + 20 files changed, 431 insertions(+), 295 deletions(-) TBD before posting the patch to RedHat: ------------------------------------ 1) Delete changes related to sparc64. 2) Include Prasanna's final Kprobes fault handler code. 3) Refresh the patch against latest RH kernel version 2.6.9-34? Thanks, Anil -- What |Removed |Added ---------------------------------------------------------------------------- Attachment #897 is|0 |1 obsolete| | http://sourceware.org/bugzilla/show_bug.cgi?id=2408 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.