diff options
| author | Tong Tiangen <[email protected]> | 2023-01-29 04:06:51 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-02-09 16:51:40 -0800 |
| commit | 93419139fa14124c1c507d804f2b28866ebee28d (patch) | |
| tree | 80f65c396b7df0f75ab91c37f3084799d4a9f764 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 8f17febb34ceb464e3ff99e9436d0ae3f47b4862 (diff) | |
memory tier: release the new_memtier in find_create_memory_tier()
In find_create_memory_tier(), if failed to register device, then we should
release new_memtier from the tier list and put device instead of memtier.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 9832fb87834e ("mm/demotion: expose memory tier details via sysfs")
Signed-off-by: Tong Tiangen <[email protected]>
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Hanjun Guo <[email protected]>
Cc: Kefeng Wang <[email protected]>
Cc: Guohanjun <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions