diff options
| author | 2025-02-10 09:24:09 +0800 | |
|---|---|---|
| committer | 2025-02-10 17:03:19 +0000 | |
| commit | bd409934c0619a6c3507891844aeb0c0dca69e18 (patch) | |
| tree | 0308b0cd7b49ea838ad2c18fe2f06b6830c5060d /tools/perf/scripts/python/task-analyzer.py | |
| parent | f2fs: quota: fix to avoid warning in dquot_writeback_dquots() (diff) | |
| download | wireguard-linux-bd409934c0619a6c3507891844aeb0c0dca69e18.tar.xz wireguard-linux-bd409934c0619a6c3507891844aeb0c0dca69e18.zip | |
f2fs: fix to return SHRINK_EMPTY if no objects to free
Quoted from include/linux/shrinker.h
"count_objects should return the number of freeable items in the cache. 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: Zhiguo Niu <zhiguo.niu@unisoc.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
