NVIDIA GPU driver infrastructure
 help / color / mirror / Atom feed
From: "Danilo Krummrich" <dakr@kernel.org>
To: <acourbot@nvidia.com>, <aliceryhl@google.com>,
	<airlied@gmail.com>, <simona@ffwll.ch>, <lossin@kernel.org>,
	<gary@garyguo.net>, <ecourtney@nvidia.com>, <jhubbard@nvidia.com>,
	<matthew.auld@intel.com>, <arunpravin.paneerselvam@amd.com>,
	<joelagnelf@nvidia.com>
Cc: <nova-gpu@lists.linux.dev>, <dri-devel@lists.freedesktop.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] rust: gpu: buddy: tie allocations to the allocator lifetime
Date: Fri, 04 Dec 2026 18:45:11 +0100	[thread overview]
Message-ID: <DNC4W2KYFG3Z.88YJ1SFR43S2@kernel.org> (raw)
In-Reply-To: <20261126221108.3768637-1-dakr@kernel.org>

On Thu Nov 26, 2026 at 11:11 PM CET, Danilo Krummrich wrote:
> Let the allocator's lifetime constrain the lifetime of its allocations,
> rather than having allocations keep the allocator alive through
> reference counting.

While this is accurate (and I hate to have it backwards), after doing some
investigation, there can be a real implementation cost of adding this lifetime.

Given that this is self-contained though, I think it is better to keep it as-is;
the practical benefits are minor.

      parent reply	other threads:[~2026-12-04 17:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 22:11 [PATCH] rust: gpu: buddy: tie allocations to the allocator lifetime Danilo Krummrich
2026-11-27  0:09 ` Gary Guo
2026-12-04 17:45 ` 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=DNC4W2KYFG3Z.88YJ1SFR43S2@kernel.org \
    --to=dakr@kernel.org \
    --cc=acourbot@nvidia.com \
    --cc=airlied@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=arunpravin.paneerselvam@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=ecourtney@nvidia.com \
    --cc=gary@garyguo.net \
    --cc=jhubbard@nvidia.com \
    --cc=joelagnelf@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lossin@kernel.org \
    --cc=matthew.auld@intel.com \
    --cc=nova-gpu@lists.linux.dev \
    --cc=simona@ffwll.ch \
    /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