Re: [PATCH RFC 0/4] mm: Remember young bit for migration entries
From: Nadav Amit
Date: Fri Jul 29 2022 - 13:07:08 EST
On Jul 28, 2022, at 6:40 PM, Peter Xu <peterx@xxxxxxxxxx> wrote:
> [Marking as RFC; only x86 is supported for now, plan to add a few more
> archs when there's a formal version]
>
> Problem
> =======
>
> When migrate a page, right now we always mark the migrated page as old.
> The reason could be that we don't really know whether the page is hot or
> cold, so we could have taken it a default negative assuming that's safer.
Looks good to me.
I just wonder whether the order of the patches should be different. I always
understood that separating the “enabling” patch from the others is not a
good practice, since it complicates bisection. I guess it is more of a minor
issue for such a small patch-set…