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

2013-05-14 Thread Rusty Russell
t it in my fixes branch (or Linus will grab it now). I also removed the extra trailing space ('git am' complained). Thanks, Rusty. From: Jianpeng Ma Date: Sat, 11 May 2013 10:04:14 +0800 Subject: [PATCH] module: Add section ".ref.data" into kmemleak-scan-area. In commit 523c

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

2013-05-14 Thread Catalin Marinas
Rusty, On Mon, May 13, 2013 at 03:24:09AM +0100, Rusty Russell wrote: > majianpeng 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. > > >

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

2013-05-13 Thread Catalin Marinas
On Mon, May 13, 2013 at 03:24:09AM +0100, Rusty Russell wrote: > majianpeng 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. > > > > Signe

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

2013-05-12 Thread Rusty Russell
continue; > > kmemleak_scan_area((void *)info->sechdrs[i].sh_addr, > -- > 1.7.10.4 > >>From 9adf5b9aae7ceb97828042d0ae8fe9fb688bc691 Mon Sep 17 00:00:00 2001 > From: Jianpeng Ma > Date: Sat, 11 May 2013 10:04:14 +0800 > Subject: [PATCH] module

[PATCH] module: Add section ".ref.data" into kmemleak-scan-area.

2013-05-10 Thread majianpeng
!strstarts(name, ".bss") && + !strstarts(name, ".ref.data")) continue; kmemleak_scan_area((void *)info->sechdrs[i].sh_addr, -- 1.7.10.4 >From 9adf5b9aae7ceb97828042d0ae8fe9fb688bc691 Mon Sep 17 00:00:00 2001 From: Jianp