[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Z4E7m0PR9KJ1fyOA@localhost.localhost>
Date: Fri, 10 Jan 2025 15:24:11 +0000
From: Kaiyang Zhao <kaiyang2@...cmu.edu>
To: "Zhijian Li (Fujitsu)" <lizhijian@...itsu.com>
Cc: "linux-mm@...ck.org" <linux-mm@...ck.org>,
Andrew Morton <akpm@...ux-foundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] mm/vmscan: Accumulate nr_demoted for accurate
demotion statistics
> 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@...cmu.edu>
Powered by blists - more mailing lists