Rust for Linux List
 help / color / mirror / Atom feed
From: Timur Tabi <ttabi@nvidia.com>
To: "miguel.ojeda.sandonis@gmail.com" <miguel.ojeda.sandonis@gmail.com>
Cc: Zhi Wang <zhiw@nvidia.com>, John Hubbard <jhubbard@nvidia.com>,
	"gary@garyguo.net" <gary@garyguo.net>,
	"rust-for-linux@vger.kernel.org" <rust-for-linux@vger.kernel.org>,
	"nova-gpu@lists.linux.dev" <nova-gpu@lists.linux.dev>,
	Eliot Courtney <ecourtney@nvidia.com>,
	"russ.weight@linux.dev" <russ.weight@linux.dev>,
	"mcgrof@kernel.org" <mcgrof@kernel.org>,
	"dakr@kernel.org" <dakr@kernel.org>,
	"ojeda@kernel.org" <ojeda@kernel.org>,
	"driver-core@lists.linux.dev" <driver-core@lists.linux.dev>,
	Alexandre Courbot <acourbot@nvidia.com>
Subject: Re: [PATCH v5 1/8] rust: alloc: add Vec::zeroed method
Date: Mon, 13 Jul 2026 02:21:34 +0000	[thread overview]
Message-ID: <1ecf1c1235ab8fbbe884ec42d72cef1a9878c8b9.camel@nvidia.com> (raw)
In-Reply-To: <CANiq72nENzJejiO3pmV9FhRA+H+zvCtfzWY0=wbTERToceiu3g@mail.gmail.com>

On Sat, 2026-07-11 at 15:25 +0200, Miguel Ojeda wrote:
> > +    /// Creates a new [`Vec`] with `n` zero-initialized elements.
> > +    ///
> > +    /// New memory is allocated with `A` and the [`__GFP_ZERO`] flag.
> 
> This may be obvious since we pass `flags` and the function only does
> this, but the sentence (here and in the commit message) sounds a bit
> like only that flag is used.

Ok, I'll reword it in v6.  

  reply	other threads:[~2026-07-13  2:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-10 23:04 [PATCH v5 0/8] Transition Nova Core to TLV firmare images Timur Tabi
2026-07-10 23:04 ` [PATCH v5 1/8] rust: alloc: add Vec::zeroed method Timur Tabi
2026-07-11 13:25   ` Miguel Ojeda
2026-07-13  2:21     ` Timur Tabi [this message]
2026-07-10 23:04 ` [PATCH v5 2/8] rust: firmware: add request_into_buf() Timur Tabi
2026-07-10 23:04 ` [PATCH v5 3/8] gpu: nova-core: add TLV parser for firmware files Timur Tabi
2026-07-10 23:04 ` [PATCH v5 4/8] gpu: nova-core: transition booter_load to TLV images Timur Tabi
2026-07-10 23:04 ` [PATCH v5 5/8] gpu: nova-core: transition gsp " Timur Tabi
2026-07-10 23:04 ` [PATCH v5 6/8] gpu: nova-core: transition gen_bootloader " Timur Tabi
2026-07-10 23:04 ` [PATCH v5 7/8] gpu: nova-core: transition fsp " Timur Tabi
2026-07-10 23:04 ` [PATCH v5 8/8] gpu: nova-core: update firmware module info for " Timur Tabi

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=1ecf1c1235ab8fbbe884ec42d72cef1a9878c8b9.camel@nvidia.com \
    --to=ttabi@nvidia.com \
    --cc=acourbot@nvidia.com \
    --cc=dakr@kernel.org \
    --cc=driver-core@lists.linux.dev \
    --cc=ecourtney@nvidia.com \
    --cc=gary@garyguo.net \
    --cc=jhubbard@nvidia.com \
    --cc=mcgrof@kernel.org \
    --cc=miguel.ojeda.sandonis@gmail.com \
    --cc=nova-gpu@lists.linux.dev \
    --cc=ojeda@kernel.org \
    --cc=russ.weight@linux.dev \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=zhiw@nvidia.com \
    /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