Re: [PATCH 0/6] change young flag check functions to return bool

From: Andrew Morton

Date: Thu Mar 19 2026 - 23:22:24 EST


On Thu, 19 Mar 2026 11:23:59 +0800 Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx> wrote:

> This is a cleanup patchset to change all young flag check functions to
> return bool, as discussed with David in the previous thread[1]. Since
> callers only care about whether the young flag was set, returning bool
> makes the intention clearer. No functional changes intended.

One observation from Sashiko. Minorish, worth addressing:
https://sashiko.dev/#/patchset/cover.1773890510.git.baolin.wang%40linux.alibaba.com