This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH] kretprobe instance recyled by parent process
- From: Andrew Morton <akpm at osdl dot org>
- To: "Mao, Bibo" <bibo dot mao at intel dot com>
- Cc: linux-kernel at vger dot kernel dot org, systemtap at sources dot redhat dot com, anil dot s dot keshavamurthy at intel dot com, yanmin dot zhang at intel dot com
- Date: Tue, 14 Feb 2006 01:01:06 -0800
- Subject: Re: [PATCH] kretprobe instance recyled by parent process
- References: <9FBCE015AF479F46B3B410499F3AE05B0898E1@pdsmsx405>
"Mao, Bibo" <bibo.mao@intel.com> wrote:
>
> When kretprobe probe schedule() function, if probed process exit then
> schedule() function will never return, so some kretprobe instance will
> never be recycled. By this patch the parent process will recycle
> kretprobe instance of probed function, there will be no memory leak of
> kretprobe instance. This patch is based on 2.6.16-rc3.
The patch is extremely wordwrapped. Please sort out your email client,
send yourself a test patch, check that it applies OK, then resend, thanks.