Re: [PATCH] module: Add section ".ref.data" into kmemleak-scan-area.
From: Catalin Marinas
Date: Tue May 14 2013 - 17:35:19 EST
Rusty,
On Mon, May 13, 2013 at 03:24:09AM +0100, Rusty Russell wrote:
> majianpeng <majianpeng@xxxxxxxxx> writes:
>
> > In commit 523c81135,it used "__refdata" on event_class_ftrace_##call.
> > It will cause kmemleak to misjudge because when loading module it did
> > not add '.ref.data' into kmemleak-scan-area.
> >
> > Signed-off-by: Jianpeng Ma <majianpeng@xxxxxxxxx>
> > ---
> > kernel/module.c | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
>
> Catalin?
>
> Acked-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
I forgot to ask - are you picking up this patch or would like me to push
upstream? The patch got some more testing on a separate thread:
Tested-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
Thanks.
--
Catalin
--
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/