summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChen Linxuan <chenlinxuan@uniontech.com>2025-01-16 11:33:02 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2025-01-16 22:24:30 +0300
commit41fb0fabc40113769ce53ea85ffd1f4bc87ae03a (patch)
tree8a1647c9f933ef76129f7399f940094b024db6fa /tools/perf/scripts/python/exported-sql-viewer.py
parente180b8c4c23beb876927a999c49c18b361fa7975 (diff)
downloadlinux-41fb0fabc40113769ce53ea85ffd1f4bc87ae03a.tar.xz
erofs: return SHRINK_EMPTY if no objects to free
Comments in file include/linux/shrinker.h says that `count_objects` of `struct shrinker` should return SHRINK_EMPTY when there are no objects to free. > If there are no objects to free, it should return SHRINK_EMPTY, > while 0 is returned in cases of the number of freeable items cannot > be determined or shrinker should skip this cache for this time > (e.g., their number is below shrinkable limit). Signed-off-by: Chen Linxuan <chenlinxuan@uniontech.com> Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Link: https://lore.kernel.org/r/149E6E64B5B6B5E8+20250116083303.199817-1-chenlinxuan@uniontech.com [ Gao Xiang: should have no impact since it's not memcg-aware. ] Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions