rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v9 0/4] support large align and nid in Rust allocators
@ 2025-06-30 22:15 Vitaly Wool
  2025-06-30 22:16 ` [PATCH v9 1/4] mm/vmalloc: allow to set node and align in vrealloc Vitaly Wool
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Vitaly Wool @ 2025-06-30 22:15 UTC (permalink / raw)
  To: linux-mm
  Cc: akpm, linux-kernel, Uladzislau Rezki, Danilo Krummrich,
	Alice Ryhl, rust-for-linux, Vitaly Wool

The coming patches provide the ability for Rust allocators to set
NUMA node and large alignment.

Changelog:
v2 -> v3:
* fixed the build breakage for non-MMU configs
v3 -> v4:
* added NUMA node support for k[v]realloc (patch #2)
* removed extra logic in Rust helpers
* patch for Rust allocators split into 2 (align: patch #3 and
  NUMA ids: patch #4)
v4 -> v5:
* reworked NUMA node support for k[v]realloc for all 3 <alloc>_node
  functions to have the same signature
* all 3 <alloc>_node slab/vmalloc functions now support alignment
  specification
* Rust helpers are extended with new functions, the old ones are left
  intact
* Rust support for NUMA nodes comes first now (as patch #3)
v5 -> v6:
* added <alloc>_node_align functions to keep the existing interfaces
  intact
* clearer separation for Rust support of MUNA ids and large alignments
v6 -> v7:
* NUMA identifier as a new Rust type (NumaNode)
* better documentation for changed and new functions and constants
v7 -> v8:
* removed NumaError
* small cleanups per reviewers' comments
v8 -> v9:
* realloc functions can now reallocate memory for a different NUMA
  node
* better comments/explanations in the Rust part

Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.se>

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-07-01 11:52 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-30 22:15 [PATCH v9 0/4] support large align and nid in Rust allocators Vitaly Wool
2025-06-30 22:16 ` [PATCH v9 1/4] mm/vmalloc: allow to set node and align in vrealloc Vitaly Wool
2025-07-01 10:50   ` Uladzislau Rezki
2025-07-01 10:54     ` Vitaly Wool
2025-07-01 11:16       ` Uladzislau Rezki
2025-07-01 11:21         ` Vitaly Wool
2025-06-30 22:16 ` [PATCH v9 2/4] mm/slub: allow to set node and align in k[v]realloc Vitaly Wool
2025-06-30 23:41   ` Tamir Duberstein
2025-07-01  9:45     ` Vitaly Wool
2025-06-30 22:16 ` [PATCH v9 3/4] rust: add support for NUMA ids in allocations Vitaly Wool
2025-07-01 10:34   ` Alice Ryhl
2025-07-01 11:19     ` Vitaly Wool
2025-07-01 11:52       ` Alice Ryhl
2025-06-30 22:16 ` [PATCH v4 4/4] rust: support large alignments " Vitaly Wool

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).