Re: [PATCH v4 11/19] mm, swap: split locked entry duplicating into a standalone helper

Kairui Song
2025-12-17T18:38:00Z

On Wed, Dec 17, 2025 at 7:22 PM Baoquan He <bhe@redhat.com> wrote:
>
> On 12/05/25 at 03:29am, Kairui Song wrote:
> > From: Kairui Song <kasong@tencent.com>
> >
> > No feature change, split the common logic into a stand alone helper to
> ~~~~~~~~~~~
> standalone, typo?
> > be reused later.
>
> In phase 2, I saw the newly added swap_dup_entries() is only called by
> __swap_duplicate(). The 'reused later' means?
>

Ah you are right, this patch belongs to phase 3 I think, I can drop it
for now, it's just a code rearrangement. Thanks!