diff options
author | liujinlong <liujinlong@kylinos.cn> | 2023-09-12 16:59:23 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-04 10:32:27 -0700 |
commit | ed547ab6f4041c2186df672029eb17f98f44d125 (patch) | |
tree | cbd6753526385f874994b853fa987ea7c7b75fa9 /mm/memcontrol.c | |
parent | mm: shrinker: convert shrinker_rwsem to mutex (diff) | |
download | wireguard-linux-ed547ab6f4041c2186df672029eb17f98f44d125.tar.xz wireguard-linux-ed547ab6f4041c2186df672029eb17f98f44d125.zip |
mm: vmscan: modify an easily misunderstood function name
When looking at the code in the memory part, I found that the purpose of
the function prepare_scan_countis very different from the function name.
It is easy to misunderstand when reading.The function prepare_scan_count
mainly completes the assignment of the scan_control structure.Therefore, I
suggest that the function name can be changed to prepare_scan_control,
which is easier to understand.
Link: https://lkml.kernel.org/r/20230912085923.27238-1-liujinlong@kylinos.cn
Signed-off-by: liujinlong <liujinlong@kylinos.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions