mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>
To: shao.mingyin@zte.com.cn
Cc: akpm@linux-foundation.org, rppt@kernel.org, linux-mm@kvack.org,
	 linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm/numa_emulation: use the real node id for leftover nodes
Date: Sat, 14 Nov 2026 17:32:32 +0000	[thread overview]
Message-ID: <avibII-ONCFXboWZ@gremlin> (raw)
In-Reply-To: <20261115004706741mYrBkIRqmj_IWsv3oh1uZ@zte.com.cn>

On Sun, Nov 15, 2026 at 12:47:06AM +0800, shao.mingyin@zte.com.cn wrote:
> From: Shao Mingyin <shao.mingyin@zte.com.cn>
>
> mm/numa_emulation: use the real node id for leftover nodes
>
> After assigning fake nodes, fix_pxm_node_maps() gives the remaining
> physical nodes free slots in the emulated node space. The second
> distance loop in numa_emulation() derives their physical node IDs by
> subtracting max_emu_nid from those slots. The slot assignment does not
> guarantee that this yields the original physical IDs.
>
> For example, with fake nodes 0 and 1 mapped to physical nodes 0 and 1,
> a remaining physical node 2 assigned slot 2 is read as physical node 1.
> The wrong row of the physical distance table is then installed.
>
> Record the physical ID when assigning each remaining node's slot and
> use that mapping in the distance loop. Keep the first loop's fake-node
> distances, and check the physical IDs before indexing the copied table.
>
> Fixes: 63db8170bf34 ("mm/fake-numa: allow later numa node hotplug")
> Signed-off-by: Shao Mingyin <shao.mingyin@zte.com.cn>

NAK.

this is generated by some AI slopper's script, spamming the kernel. The
patches I looked at were wrong/broken, so no to anything from this person.

They've sent 300 mails in under four weeks spanniing: ata, scsi, target,
ufs, nvme/nvmet, ubifs, ublk, zloop, dm, md, mmc, virtio-blk, mfd, gpio,
pwm, spi, PCI, ASoC, ACPI, net, vfs mount, block partitions, and now mm.

and 17 series across 7 subsystems over the past 23 hours.

We need a way to ban emails from people like this...

--
Cheers, Lorenzo

      reply	other threads:[~2026-11-14 17:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-14 16:47 shao.mingyin
2026-11-14 17:32 ` Lorenzo Stoakes (ARM) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=avibII-ONCFXboWZ@gremlin \
    --to=ljs@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=rppt@kernel.org \
    --cc=shao.mingyin@zte.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®