Re: [kmemleak report 0/2] kernel 3.1.6, x86_64

From: Catalin Marinas
Date: Tue Jan 17 2012 - 11:53:32 EST


On 15 January 2012 22:29, Roland Eggner <edvx1@xxxxxxxxxxxxxxxxxx> wrote:
> It looks like memory leaks are “eating” 1G+ after only 1 week uptime … that's
> not nice.

Does your system actually lose this memory or they are just be false
positives? We've known since around 3.1 that kmemleak has some issues
with per-cpu memory allocations and reporting false positives. The
patches just went in (to be visible in 3.3-rc1). Alternatively, you
could cherry-pick them from here:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=shortlog;h=029aeff5db879afd7760f11214b6fea45f76b58e

(commit f528f0b8e5 "kmemleak: Handle percpu memory allocation" is the
one you would need)

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/