mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Philipp Stanner <phasta@mailbox.org>
To: Danilo Krummrich <dakr@kernel.org>, Gary Guo <gary@garyguo.net>
Cc: "Daniel Almeida" <daniel.almeida@collabora.com>,
	"Sumit Semwal" <sumit.semwal@linaro.org>,
	"Christian König" <christian.koenig@amd.com>,
	"Philipp Stanner" <phasta@kernel.org>,
	"Alice Ryhl" <aliceryhl@google.com>,
	"Miguel Ojeda" <ojeda@kernel.org>,
	"Boqun Feng" <boqun@kernel.org>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <lossin@kernel.org>,
	"Andreas Hindborg" <a.hindborg@kernel.org>,
	"Trevor Gross" <tmgross@umich.edu>,
	"Tamir Duberstein" <tamird@kernel.org>,
	"Alexandre Courbot" <acourbot@nvidia.com>,
	"Onur Özkan" <work@onurozkan.dev>,
	linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org,
	linaro-mm-sig@lists.linaro.org, rust-for-linux@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] rust: dma_buf: add dma-fence signalling sections
Date: Mon, 30 Nov 2026 17:11:06 +0100	[thread overview]
Message-ID: <53f1f00685326e496561467802c258136b1a316f.camel@mailbox.org> (raw)
In-Reply-To: <DN69Y3A64AJG.3SOFZ9ADV9HKS@kernel.org>

On Fri, 2026-11-27 at 21:26 +0100, Danilo Krummrich wrote:
> On Fri Nov 27, 2026 at 9:11 PM CET, Danilo Krummrich wrote:
> > On Fri Nov 27, 2026 at 7:59 PM CET, Gary Guo wrote:
> > > Do you need it being a guard? You can do things like
> > > 
> > >     let a = SignallingSection::begin();
> > >     let b = SignallingSection::begin();
> > >     drop(a);
> > >     drop(b);
> > > 
> > > to break nesting. A closure-based approach wouldn't have this issue.
> > 
> > I also think that a closure-based design would be better.
> > 
> > Another nit, "signaling" is much more common in the kernel than "signalling".
> 
> Well, while this is true, the API already inconsistent about this in exactly the
> functions you are abstracting here, so nevermind. :)

I try to go for signaling with one l in all code that I write. Maybe we
can agree on that style.

  reply	other threads:[~2026-11-30 16:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 18:30 Daniel Almeida
2026-11-27 18:30 ` [PATCH 1/2] rust: dma_buf: dma_fence: add SignallingSection Daniel Almeida
2026-11-27 21:06   ` Danilo Krummrich
2026-11-27 18:30 ` [PATCH 2/2] rust: dma_buf: dma_fence: require a SignallingSection in signal() Daniel Almeida
2026-11-27 18:59 ` [PATCH 0/2] rust: dma_buf: add dma-fence signalling sections Gary Guo
2026-11-27 20:11   ` Danilo Krummrich
2026-11-27 20:26     ` Danilo Krummrich
2026-11-30 16:11       ` Philipp Stanner [this message]
2026-11-30 16:12 ` Philipp Stanner

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=53f1f00685326e496561467802c258136b1a316f.camel@mailbox.org \
    --to=phasta@mailbox.org \
    --cc=a.hindborg@kernel.org \
    --cc=acourbot@nvidia.com \
    --cc=aliceryhl@google.com \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun@kernel.org \
    --cc=christian.koenig@amd.com \
    --cc=dakr@kernel.org \
    --cc=daniel.almeida@collabora.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gary@garyguo.net \
    --cc=linaro-mm-sig@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=lossin@kernel.org \
    --cc=ojeda@kernel.org \
    --cc=phasta@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=sumit.semwal@linaro.org \
    --cc=tamird@kernel.org \
    --cc=tmgross@umich.edu \
    --cc=work@onurozkan.dev \
    /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®