rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] rust: alloc: add Vec::resize and Vec::truncate
@ 2025-03-16 11:16 Andrew Ballance
  2025-03-16 11:16 ` [PATCH v2 1/3] rust: alloc: add Vec::truncate method Andrew Ballance
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Andrew Ballance @ 2025-03-16 11:16 UTC (permalink / raw)
  To: dakr, airlied, simona, maarten.lankhorst, mripard, tzimmermann,
	corbet, ojeda, alex.gaynor, boqun.feng, gary, bjorn3_gh,
	benno.lossin, a.hindborg, aliceryhl, tmgross, andrewjballance,
	acourbot, nouveau, dri-devel, linux-doc, linux-kernel,
	rust-for-linux

This patch series implements the Vec::truncate and Vec::resize methods
that were needed by the nova driver and removes the corresponding item
from their task list

changes in v2:
 - updated safety comments
 - fixed rustdoc comment spacing
 - reworded commit messages to be imperative
 - Link to v1: https://lore.kernel.org/rust-for-linux/20250315024235.5282-1-andrewjballance@gmail.com/

Andrew Ballance (3):
  rust: alloc: add Vec::truncate method
  rust: alloc: add Vec::resize method
  gpu: nova-core: remove completed Vec extentions from task list

 Documentation/gpu/nova/core/todo.rst | 10 -----
 rust/kernel/alloc/kvec.rs            | 62 ++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+), 10 deletions(-)

-- 
2.48.1


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

end of thread, other threads:[~2025-04-07 13:07 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-16 11:16 [PATCH v2 0/3] rust: alloc: add Vec::resize and Vec::truncate Andrew Ballance
2025-03-16 11:16 ` [PATCH v2 1/3] rust: alloc: add Vec::truncate method Andrew Ballance
2025-03-16 19:19   ` Danilo Krummrich
2025-03-16 11:16 ` [PATCH v2 2/3] rust: alloc: add Vec::resize method Andrew Ballance
2025-03-16 18:01   ` Benno Lossin
2025-03-18 20:12   ` Tamir Duberstein
2025-03-19  0:50     ` Benno Lossin
2025-03-19 13:42       ` Tamir Duberstein
2025-03-19 14:34         ` Benno Lossin
2025-03-19 15:58           ` Tamir Duberstein
2025-03-19 16:06             ` Miguel Ojeda
2025-03-19 16:13               ` Tamir Duberstein
2025-03-19 16:43                 ` Miguel Ojeda
2025-03-19 17:22                   ` Tamir Duberstein
2025-03-16 11:16 ` [PATCH v2 3/3] gpu: nova-core: remove completed Vec extentions from task list Andrew Ballance
2025-04-07 13:07 ` [PATCH v2 0/3] rust: alloc: add Vec::resize and Vec::truncate Danilo Krummrich

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).