diff options
| author | Miaohe Lin <[email protected]> | 2022-04-28 23:16:06 -0700 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-04-28 23:16:06 -0700 |
| commit | da63dc84befaa9e6079a0bc363ff0eaa975f9073 (patch) | |
| tree | 8beaee3e664cf9969390914c52d9b000d277e5a9 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 4af12d04e71c2d0d961c4921602e577d6cc6010e (diff) | |
drivers/base/node.c: fix compaction sysfs file leak
Compaction sysfs file is created via compaction_register_node in
register_node. But we forgot to remove it in unregister_node. Thus
compaction sysfs file is leaked. Using compaction_unregister_node to fix
this issue.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: ed4a6d7f0676 ("mm: compaction: add /sys trigger for per-node memory compaction")
Signed-off-by: Miaohe Lin <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions