Re: [PATCH 1/2] time/namespace: Refactor copy-pasted helper into one copy
From: Jann Horn
Date: Wed Nov 30 2022 - 05:16:28 EST
On Tue, Nov 29, 2022 at 8:18 PM Jann Horn <jannh@xxxxxxxxxx> wrote:
> find_timens_vvar_page() is not arch-specific, as can be seen from how all
> five per-architecture versions of it are the same.
> (arm64, powerpc and riscv are exactly the same; x86 and s390 have two
> characters difference inside a comment, less blank lines, and mark the
> !CONFIG_TIME_NS version as inline.)
>
> Refactor the five copies into a central copy in kernel/time/namespace.c.
>
> Marked for stable backporting because it is a prerequisite for the
> following patch.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Jann Horn <jannh@xxxxxxxxxx>
Should I resend this one without the Cc stable as a standalone cleanup patch?