Thread (5 messages) 5 messages, 3 authors, 2017-08-29

[Bug] ARM: cpuidle: possible memleak

From: Stefan Wahren <hidden>
Date: 2017-08-12 13:19:33
Also in: linux-pm

Hi,

if i additionally enable kmemleak (on top of multi_v7_defconfig) on RPi 3 (4 cores) with 4.13-rc4, i get the following output from kmemleak:

unreferenced object 0xede0dc00 (size 1024):
  comm "swapper/0", pid 1, jiffies 4294937431 (age 744.510s)
  hex dump (first 32 bytes):
    94 9e 0b c1 00 00 00 00 00 00 00 00 00 00 00 00  ................
    57 46 49 00 00 00 00 00 00 00 00 00 00 00 00 00  WFI.............
  backtrace:
    [<c1295f04>] arm_idle_init+0x44/0x1ac
    [<c0301e6c>] do_one_initcall+0x3c/0x16c
    [<c1200d70>] kernel_init_freeable+0x110/0x1d0
    [<c0cb3624>] kernel_init+0x8/0x114
    [<c0307a98>] ret_from_fork+0x14/0x3c
    [<ffffffff>] 0xffffffff

If i revert the last commit in cpuidle-arm d50a7d8acd78 ("ARM: cpuidle: Support asymmetric idle definition") then kmemleak stays calm.

Best regards
Stefan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help