Re: [PATCH 1/2] mm/vmscan: Accumulate nr_demoted for accurate demotion statistics
From: Kaiyang Zhao
Date: Fri Jan 10 2025 - 10:28:21 EST
> Well... I know what was going on, the second pass will override stat->nr_demoted to be *zero* that makes the first try stat->nr_demoted got lost.
Ah you are right. This is a bug when demotion partially succeeds in
the first pass. Thanks for catching it.
Acked-by: Kaiyang Zhao <kaiyang2@xxxxxxxxxx>