This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug kprobes/2183] New: kretprobe on schedule() leaks kretprobe_instances


When kretprobes are inserted on "schedule" Mao Bibo reported that kretprobe
instances were not recycled properly and their by causing memory leaks.  He
investigated and came up with the attached patch.
                                                                                
I am forwarding it to you guys for  wider review/comments/suggestions to Bibo.
                                                                                
                                                                                
Thanks,
Anil Keshavamurthy
                                                                                
-----Original Message-----
From: Mao, Bibo
Sent: Wednesday, January 18, 2006 7:32 PM
To: Keshavamurthy, Anil S
Cc: Zhang, Yanmin
Subject: patch for kretprobe instance recycle
                                                                                
Anil,
        The attachment is patch for kretprobe instance recycle, mainly
kprobe_flush_task( ) function was removed from exit_thread() to
finish_task_switch( ) function.

-- 
           Summary: kretprobe on schedule() leaks kretprobe_instances
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: kprobes
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: jkenisto at us dot ibm dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=2183

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]