kernel 3.4-rc3のメモリリーク追っかけ

こんな感じ。

[ 203.872695] kmemleak: 127 new suspected memory leaks (see /sys/kernel/debug/k
memleak)
commで見るとswapper/0、modprobe、udevdの3個で内訳は以下の通り。
swapper/0:6
modprobe:5
udevd:116

commがudevdの時が一番多いんだけど、コールフローだと2パターンで、この流れとか、

unreferenced object 0xffff8802418d2400 (size 256):
comm "udevd", pid 318, jiffies 4294682148 (age 268.931s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<ffffffff815d655b>] kmemleak_alloc+0x5b/0xc0
[<ffffffff811683e9>] kmem_cache_alloc_node+0xf9/0x170
[<ffffffff814dd9cb>] __alloc_skb+0x4b/0x230
[<ffffffff814de27d>] dev_alloc_skb+0x1d/0x40
[<ffffffffa03b3115>] rtl_pci_probe+0xffd/0x15f1 [rtlwifi]
[<ffffffff812eb63c>] local_pci_probe+0x5c/0xd0
[<ffffffff812eb7c1>] pci_device_probe+0x111/0x120
[<ffffffff813a6512>] driver_probe_device+0x92/0x390
[<ffffffff813a68bb>] __driver_attach+0xab/0xb0
[<ffffffff813a4595>] bus_for_each_dev+0x55/0x90
[<ffffffff813a5dae>] driver_attach+0x1e/0x20
[<ffffffff813a5ab8>] bus_add_driver+0x1a8/0x2a0
[<ffffffff813a6f87>] driver_register+0x77/0x150
[<ffffffff812ea4fe>] __pci_register_driver+0x5e/0xe0
[<ffffffffa0287020>] 0xffffffffa0287020
[<ffffffff8100212a>] do_one_initcall+0x12a/0x180

この流れが多い。

unreferenced object 0xffff88023dfe4000 (size 9536):
comm "udevd", pid 318, jiffies 4294682148 (age 268.991s)
hex dump (first 32 bytes):
5e 01 c7 00 00 00 de 04 28 00 00 00 00 9f 5f 01 ^.......(....._.
7d 02 00 00 df 04 28 00 00 00 00 9f 60 01 7d 02 }.....(.....`.}.
backtrace:
[<ffffffff815d655b>] kmemleak_alloc+0x5b/0xc0
[<ffffffff815ee815>] kmalloc_large_node+0xa6/0xb2
[<ffffffff8116b077>] __kmalloc_node_track_caller+0x187/0x1e0
[<ffffffff814dd9f9>] __alloc_skb+0x79/0x230
[<ffffffff814de27d>] dev_alloc_skb+0x1d/0x40
[<ffffffffa03b3115>] rtl_pci_probe+0xffd/0x15f1 [rtlwifi]
[<ffffffff812eb63c>] local_pci_probe+0x5c/0xd0
[<ffffffff812eb7c1>] pci_device_probe+0x111/0x120
[<ffffffff813a6512>] driver_probe_device+0x92/0x390
[<ffffffff813a68bb>] __driver_attach+0xab/0xb0
[<ffffffff813a4595>] bus_for_each_dev+0x55/0x90
[<ffffffff813a5dae>] driver_attach+0x1e/0x20
[<ffffffff813a5ab8>] bus_add_driver+0x1a8/0x2a0
[<ffffffff813a6f87>] driver_register+0x77/0x150
[<ffffffff812ea4fe>] __pci_register_driver+0x5e/0xe0
[<ffffffffa0287020>] 0xffffffffa0287020