linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kmemleak complaints on request queue stats (virtio)
@ 2017-03-29 17:02 Sagi Grimberg
  2017-03-29 17:04 ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: Sagi Grimberg @ 2017-03-29 17:02 UTC (permalink / raw)
  To: linux-block

Hi,

I just got the below kmemleak report. Just thought I'd send it
out as I don't have time to look into it just now...

--
unreferenced object 0xffff8ab236717920 (size 32):
   comm "swapper/0", pid 1, jiffies 4294892551 (age 9966.044s)
   hex dump (first 32 bytes):
     20 79 71 36 b2 8a ff ff 20 79 71 36 b2 8a ff ff   yq6.... yq6....
     00 00 00 00 ff ff ff ff e0 c1 4b 9b ff ff ff ff  ..........K.....
   backtrace:
     [<ffffffff9b84212a>] kmemleak_alloc+0x4a/0xa0
     [<ffffffff9b1ff780>] kmem_cache_alloc_trace+0x110/0x230
     [<ffffffff9b3cd74f>] blk_alloc_queue_stats+0x1f/0x40
     [<ffffffff9b3bacd4>] blk_alloc_queue_node+0x94/0x2e0
     [<ffffffff9b3cbdd0>] blk_mq_init_queue+0x20/0x60
     [<ffffffff9b593665>] loop_add+0xe5/0x270
     [<ffffffff9bfe348b>] loop_init+0x10b/0x149
     [<ffffffff9b002193>] do_one_initcall+0x53/0x1a0
     [<ffffffff9bf8b133>] kernel_init_freeable+0x16d/0x1f3
     [<ffffffff9b83ed0e>] kernel_init+0xe/0x100
     [<ffffffff9b84d27c>] ret_from_fork+0x2c/0x40
     [<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffff8ab23666d440 (size 32):
   comm "swapper/0", pid 1, jiffies 4294892552 (age 9966.040s)
   hex dump (first 32 bytes):
     40 d4 66 36 b2 8a ff ff 40 d4 66 36 b2 8a ff ff  @.f6....@.f6....
     00 00 00 00 00 00 00 00 2a 21 84 9b ff ff ff ff  ........*!......
   backtrace:
     [<ffffffff9b84212a>] kmemleak_alloc+0x4a/0xa0
     [<ffffffff9b1ff780>] kmem_cache_alloc_trace+0x110/0x230
     [<ffffffff9b3cd74f>] blk_alloc_queue_stats+0x1f/0x40
     [<ffffffff9b3bacd4>] blk_alloc_queue_node+0x94/0x2e0
     [<ffffffff9b3cbdd0>] blk_mq_init_queue+0x20/0x60
     [<ffffffff9b596382>] virtblk_probe+0x172/0x700
     [<ffffffff9b4e3193>] virtio_dev_probe+0x143/0x1f0
     [<ffffffff9b56eb7f>] driver_probe_device+0x2bf/0x460
     [<ffffffff9b56edff>] __driver_attach+0xdf/0xf0
     [<ffffffff9b56c914>] bus_for_each_dev+0x64/0xa0
     [<ffffffff9b56e3ce>] driver_attach+0x1e/0x20
     [<ffffffff9b56decd>] bus_add_driver+0x1fd/0x270
     [<ffffffff9b56f910>] driver_register+0x60/0xe0
     [<ffffffff9b4e2e10>] register_virtio_driver+0x20/0x30
     [<ffffffff9bfe351a>] init+0x51/0x7e
     [<ffffffff9b002193>] do_one_initcall+0x53/0x1a0
--

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: kmemleak complaints on request queue stats (virtio)
  2017-03-29 17:02 kmemleak complaints on request queue stats (virtio) Sagi Grimberg
@ 2017-03-29 17:04 ` Jens Axboe
  2017-03-29 17:06   ` Sagi Grimberg
  0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2017-03-29 17:04 UTC (permalink / raw)
  To: Sagi Grimberg, linux-block

On 03/29/2017 11:02 AM, Sagi Grimberg wrote:
> Hi,
> 
> I just got the below kmemleak report. Just thought I'd send it
> out as I don't have time to look into it just now...
> 
> --
> unreferenced object 0xffff8ab236717920 (size 32):
>    comm "swapper/0", pid 1, jiffies 4294892551 (age 9966.044s)
>    hex dump (first 32 bytes):
>      20 79 71 36 b2 8a ff ff 20 79 71 36 b2 8a ff ff   yq6.... yq6....
>      00 00 00 00 ff ff ff ff e0 c1 4b 9b ff ff ff ff  ..........K.....
>    backtrace:
>      [<ffffffff9b84212a>] kmemleak_alloc+0x4a/0xa0
>      [<ffffffff9b1ff780>] kmem_cache_alloc_trace+0x110/0x230
>      [<ffffffff9b3cd74f>] blk_alloc_queue_stats+0x1f/0x40
>      [<ffffffff9b3bacd4>] blk_alloc_queue_node+0x94/0x2e0
>      [<ffffffff9b3cbdd0>] blk_mq_init_queue+0x20/0x60
>      [<ffffffff9b593665>] loop_add+0xe5/0x270
>      [<ffffffff9bfe348b>] loop_init+0x10b/0x149
>      [<ffffffff9b002193>] do_one_initcall+0x53/0x1a0
>      [<ffffffff9bf8b133>] kernel_init_freeable+0x16d/0x1f3
>      [<ffffffff9b83ed0e>] kernel_init+0xe/0x100
>      [<ffffffff9b84d27c>] ret_from_fork+0x2c/0x40
>      [<ffffffffffffffff>] 0xffffffffffffffff

You don't mention what you are running? But I'm assuming it was my 4.12
branch. If so, this is fixed in a later revision of it.  If you pull an
update, it should go away.

-- 
Jens Axboe

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: kmemleak complaints on request queue stats (virtio)
  2017-03-29 17:04 ` Jens Axboe
@ 2017-03-29 17:06   ` Sagi Grimberg
  0 siblings, 0 replies; 3+ messages in thread
From: Sagi Grimberg @ 2017-03-29 17:06 UTC (permalink / raw)
  To: Jens Axboe, linux-block


> You don't mention what you are running? But I'm assuming it was my 4.12
> branch.

Ehh, details...

> If so, this is fixed in a later revision of it.  If you pull an
> update, it should go away.

Will try, thanks Jens.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-29 17:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-29 17:02 kmemleak complaints on request queue stats (virtio) Sagi Grimberg
2017-03-29 17:04 ` Jens Axboe
2017-03-29 17:06   ` Sagi Grimberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).