Re: [PATCH] kretprobe instance recyled by parent process

From: Andrew Morton
Date: Tue Feb 14 2006 - 04:00:12 EST


"Mao, Bibo" <bibo.mao@xxxxxxxxx> 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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/