diff options
author | Yufen Yu <[email protected]> | 2019-05-16 19:30:07 -0700 |
---|---|---|
committer | Keith Busch <[email protected]> | 2019-05-17 11:08:09 -0600 |
commit | 510a405d945bc985abc513fafe45890cac34fafa (patch) | |
tree | 9bfbd1bf8a1ef26b8a13a5c802b0eef668aa3241 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5fb4aac756acacf260b9ebd88747251effa3a2f2 (diff) |
nvme: fix memory leak for power latency tolerance
Unconditionally hide device pm latency tolerance when uninitializing
the controller to ensure all qos resources are released so that we're
not leaking this memory. This is safe to call if none were allocated in
the first place, or were previously freed.
Fixes: c5552fde102fc("nvme: Enable autonomous power state transitions")
Suggested-by: Keith Busch <[email protected]>
Tested-by: David Milburn <[email protected]>
Signed-off-by: Yufen Yu <[email protected]>
[changelog]
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions