kmemleak complaints in nvme PM

Sagi Grimberg sagi at grimberg.me
Thu Apr 20 04:34:49 PDT 2017


>>> Greg and/or Rafael, what's the right way to fix this?  I would imagine
>>> that the driver core should free pm_qos requests when the device goes
>>> away, no?
>>
>> Yes, it should.
>>
>
> I don't see the bug.  dev_pm_qos_constraints_destroy() should take care of it.

I see it all the time, where is dev_pm_qos_constraints_destroy() called?

Not in nvme.



More information about the Linux-nvme mailing list