WSL2-Linux-Kernel/tools/cgroup
Alexander Pantyukhin d526643f15 tools:cgroup:memcg_shrinker remove redundant import
Remove redundant import of the sys module.

Also use the sort function instead of sorted.  It sorts the direct array
without create the new one in memory.

Link: https://lkml.kernel.org/r/20230108105023.4289-1-apantykhin@gmail.com
Signed-off-by: Alexander Pantyukhin <apantykhin@gmail.com>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-01-18 17:12:59 -08:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Makefile tools: fix cross-compile var clobbering 2018-02-21 15:35:42 -08:00
cgroup_event_listener.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
iocost_coef_gen.py blkcg: add tools/cgroup/iocost_coef_gen.py 2019-08-28 21:17:17 -06:00
iocost_monitor.py iocost_monitor: reorder BlkgIterator 2022-09-23 16:57:10 -10:00
memcg_shrinker.py tools:cgroup:memcg_shrinker remove redundant import 2023-01-18 17:12:59 -08:00
memcg_slabinfo.py tools/cgroup/slabinfo: update to work with struct slab 2022-02-21 11:34:49 +01:00