Bug 23352

Summary: Significant memory leaks present in several kernel versions reported by kmemleak
Product: Memory Management Reporter: plhu
Component: OtherAssignee: Andrew Morton (akpm)
Status: RESOLVED OBSOLETE    
Severity: high CC: alan, asn, plhu
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.35, 2.6.36 Subsystem:
Regression: No Bisected commit-id:
Attachments: The 2.6.37-rc2 .config

Description plhu 2010-11-20 10:03:27 UTC
Created attachment 37692 [details]
The 2.6.37-rc2 .config 

Few days ago, I saw following lines present in /var/log/messages on my Gentoo:

 Oct 31 00:02:03 myhost kernel: [67582.792294] kmemleak: 1 new suspected memory
leaks (see /sys/kernel/debug/kmemleak)
Oct 31 09:32:48 myhost kernel: [105428.012364] kmemleak: 4 new suspected memory
leaks (see /sys/kernel/debug/kmemleak)
Oct 31 09:59:13 myhost kernel: [107013.447909] kmemleak: 40 new suspected
memory leaks (see /sys/kernel/debug/kmemleak)
Oct 31 12:52:37 myhost kernel: [117417.171942] kmemleak: 11 new suspected
memory leaks (see /sys/kernel/debug/kmemleak)
Oct 31 14:31:35 myhost kernel: [123354.749291] kmemleak: 1 new suspected memory
leaks (see /sys/kernel/debug/kmemleak)
Oct 31 15:12:12 myhost kernel: [125792.367558] kmemleak: 20 new suspected
memory leaks (see /sys/kernel/debug/kmemleak)
Oct 31 15:23:19 myhost kernel: [126459.364451] kmemleak: 3 new suspected memory
leaks (see /sys/kernel/debug/kmemleak)

while I used gentoo-sources that are patched, I asked for help on Gentoo bugzilla and after few steps was advised to try also 2.6.37-rc2 vanilla kernel. While the unpatched version produced the errors too, I decided to report the bug also here.

All the details and files including kernel configs, contents of /sys/kernel/debug/kmemleak and frequency of error messages are on: https://bugs.gentoo.org/show_bug.cgi?id=343627

I attach also .config used to build 2.6.37-rc2