From: Danilo Krummrich <dakr@kernel.org>
To: Andrew Ballance <andrewjballance@gmail.com>
Cc: airlied@gmail.com, simona@ffwll.ch,
maarten.lankhorst@linux.intel.com, mripard@kernel.org,
tzimmermann@suse.de, corbet@lwn.net, ojeda@kernel.org,
alex.gaynor@gmail.com, boqun.feng@gmail.com, gary@garyguo.net,
bjorn3_gh@protonmail.com, benno.lossin@proton.me,
a.hindborg@kernel.org, aliceryhl@google.com, tmgross@umich.edu,
acourbot@nvidia.com, nouveau@lists.freedesktop.org,
dri-devel@lists.freedesktop.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org
Subject: Re: [PATCH v2 0/3] rust: alloc: add Vec::resize and Vec::truncate
Date: Mon, 7 Apr 2025 15:07:48 +0200 [thread overview]
Message-ID: <5acd1373-5be9-4d20-a4cd-bb88cf4c767e@kernel.org> (raw)
In-Reply-To: <20250316111644.154602-1-andrewjballance@gmail.com>
On 3/16/25 12:16 PM, Andrew Ballance wrote:
> 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
With the following changes, applied to rust/alloc-next, thanks!
- Rewrote safety comment of set_len().
- Use checked_sub(), as suggested by Tamir.
> gpu: nova-core: remove completed Vec extentions from task list
Applied to nova-next, thanks!
> Documentation/gpu/nova/core/todo.rst | 10 -----
> rust/kernel/alloc/kvec.rs | 62 ++++++++++++++++++++++++++++
> 2 files changed, 62 insertions(+), 10 deletions(-)
>
prev parent reply other threads:[~2025-04-07 13:07 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-16 11:16 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 ` Danilo Krummrich [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=5acd1373-5be9-4d20-a4cd-bb88cf4c767e@kernel.org \
--to=dakr@kernel.org \
--cc=a.hindborg@kernel.org \
--cc=acourbot@nvidia.com \
--cc=airlied@gmail.com \
--cc=alex.gaynor@gmail.com \
--cc=aliceryhl@google.com \
--cc=andrewjballance@gmail.com \
--cc=benno.lossin@proton.me \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun.feng@gmail.com \
--cc=corbet@lwn.net \
--cc=dri-devel@lists.freedesktop.org \
--cc=gary@garyguo.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=nouveau@lists.freedesktop.org \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=simona@ffwll.ch \
--cc=tmgross@umich.edu \
--cc=tzimmermann@suse.de \
/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®