diff options
| author | Hao Li <hao.li@linux.dev> | 2026-04-03 15:37:36 +0800 |
|---|---|---|
| committer | Vlastimil Babka (SUSE) <vbabka@kernel.org> | 2026-04-07 11:10:52 +0200 |
| commit | 7f9bb84fdb5ee7621fcd6519cd14d3dc9aa75c5c (patch) | |
| tree | c72aeaf21360cf26583683e5f176691c773efc4b /tools/perf/scripts/python | |
| parent | e65d430111a5ba83598b03a4aca4799eb295eef1 (diff) | |
slub: use N_NORMAL_MEMORY in can_free_to_pcs to handle remote frees
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: Harry Yoo (Oracle) <harry@kernel.org>
Acked-by: David Rientjes <rientjes@google.com>
Link: https://patch.msgid.link/20260403073958.8722-1-hao.li@linux.dev
Signed-off-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
