diff options
author | Alexander Pantyukhin <apantykhin@gmail.com> | 2023-01-08 15:50:23 +0500 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-01-18 17:12:59 -0800 |
commit | d526643f155c431e8dfef643195f2d636d4e4bb5 (patch) | |
tree | 24ec3cdf399f6e5f166b1cfaa1c0a34d108b4940 /mm/zsmalloc.c | |
parent | b6f00c9190c8e694c9b2b38e7cc63964f7a99195 (diff) | |
download | linux-d526643f155c431e8dfef643195f2d636d4e4bb5.tar.gz linux-d526643f155c431e8dfef643195f2d636d4e4bb5.tar.bz2 linux-d526643f155c431e8dfef643195f2d636d4e4bb5.zip |
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>
Diffstat (limited to 'mm/zsmalloc.c')
0 files changed, 0 insertions, 0 deletions