mm: vmscan: modify an easily misunderstood function name
authorliujinlong <liujinlong@kylinos.cn>
Tue, 12 Sep 2023 08:59:23 +0000 (16:59 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 4 Oct 2023 17:32:27 +0000 (10:32 -0700)
commited547ab6f4041c2186df672029eb17f98f44d125
treecbd6753526385f874994b853fa987ea7c7b75fa9
parent8a0e8bb112af28362514624fc46e20426b4bdf1f
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>
mm/vmscan.c