Re: [PATCH v3 2/2] mm: shmem: refactor thpsize_shmem_enabled_show() with helper arrays
From: Barry Song
Date: Fri May 22 2026 - 06:56:51 EST
On Fri, May 22, 2026 at 6:35 PM Lorenzo Stoakes <ljs@xxxxxxxxxx> wrote:
>
> On Mon, May 18, 2026 at 12:32:38PM +0000, ranxiaokai627@xxxxxxx wrote:
> > From: Ran Xiaokai <ran.xiaokai@xxxxxxxxxx>
> >
> > Replace the hardcoded if/else chain of test_bit() calls and string
> > literals in thpsize_shmem_enabled_show() with a loop over
> > huge_shmem_orders_by_mode[] and huge_shmem_enabled_mode_strings[] arrays.
> >
> > This makes thpsize_shmem_enabled_show() consistent with
> > thpsize_shmem_enabled_store() and eliminates duplicated mode name strings.
> >
> > Signed-off-by: Ran Xiaokai <ran.xiaokai@xxxxxxxxxx>
>
> From: ranxiaokai627@xxxxxxx
>
> This does not match the From: field of the email.
>
> This is violating kernel process. See
> https://docs.kernel.org/process/submitting-patches.html
I’m not aware of this rule, since I usually see From matching
Signed-off-by. Do we really have such a rule? Sorry, I might be a
bit ignorant about this 🙂
>
> Please either update this to your 163 email account or resend from your
> zte.com.cn address, otherwise we can't take this.
>
> Cheers, Lorenzo
>