Re: [PATCH] module: Add section ".ref.data" intokmemleak-scan-area.

From: Catalin Marinas
Date: Mon May 13 2013 - 12:42:48 EST


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>

Looks good, thanks for cc'ing me.

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>
--
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/