]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/vmscan: modify the assignment logic of the scan and total_scan variables
authorHao Ge <gehao@kylinos.cn>
Thu, 17 Apr 2025 09:24:22 +0000 (17:24 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 May 2025 00:48:32 +0000 (17:48 -0700)
commitdf2bbc47e707c7836756159e3530266656a9ea87
treea624a1f61d03f19f2551f17fdfb68c5b800f9d22
parent1477b8cd26883a78362057954a247dab3bc5d2fb
mm/vmscan: modify the assignment logic of the scan and total_scan variables

The scan and total_scan variables can be initialized to 0 when they are
defined, replacing the separate assignment statements.

Link: https://lkml.kernel.org/r/20250417092422.1333620-1-hao.ge@linux.dev
Signed-off-by: Hao Ge <gehao@kylinos.cn>
Acked-by: Dev Jain <dev.jain@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c