linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: David Rientjes <rientjes@google.com>
To: Hao Li <hao.li@linux.dev>
Cc: vbabka@kernel.org, harry.yoo@oracle.com,
	akpm@linux-foundation.org,  cl@gentwo.org,
	roman.gushchin@linux.dev, linux-mm@kvack.org,
	 linux-kernel@vger.kernel.org
Subject: Re: [PATCH] slub: use N_NORMAL_MEMORY in can_free_to_pcs to handle remote frees
Date: Fri, 3 Apr 2026 11:02:43 -0700 (PDT)	[thread overview]
Message-ID: <000a617e-4478-797c-50ba-587155139e1b@google.com> (raw)
In-Reply-To: <20260403073958.8722-1-hao.li@linux.dev>

On Fri, 3 Apr 2026, Hao Li wrote:

> Memory hotplug now keeps N_NORMAL_MEMORY up to date correctly, so make
> can_free_to_pcs() use it.
> 
> As a result, when freeing objects on memoryless nodes, or on nodes that
> have memory but only in ZONE_MOVABLE, the objects can be freed to the
> sheaf instead of going through the slow path.
> 
> Signed-off-by: Hao Li <hao.li@linux.dev>

Acked-by: David Rientjes <rientjes@google.com>


      parent reply	other threads:[~2026-04-03 18:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-03  7:37 Hao Li
2026-04-03 12:02 ` Harry Yoo (Oracle)
2026-04-03 18:14   ` Vlastimil Babka (SUSE)
2026-04-04  4:05     ` Hao Li
2026-04-06  1:57     ` Harry Yoo (Oracle)
2026-04-03 18:02 ` David Rientjes [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=000a617e-4478-797c-50ba-587155139e1b@google.com \
    --to=rientjes@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=cl@gentwo.org \
    --cc=hao.li@linux.dev \
    --cc=harry.yoo@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=roman.gushchin@linux.dev \
    --cc=vbabka@kernel.org \
    /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