mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mahad Ibrahim" <mahad.ibrahim.dev@gmail.com>
To: "Amir Goldstein" <amir73il@gmail.com>,
	"Miklos Szeredi" <miklos@szeredi.hu>
Cc: "Mahad Ibrahim" <mahad.ibrahim.dev@gmail.com>,
	<fuse-devel@lists.linux.dev>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] fuse: replace passthrough backing-id IDR with IDA plus hashtable
Date: Mon, 22 Jun 2026 18:03:27 +0000	[thread overview]
Message-ID: <DJFRY695N35Y.2GE7B8MVNUZT7@gmail.com> (raw)
In-Reply-To: <CAOQ4uxg7JMQb=-tPFxBBQO5dZU-64uP2-pstZDyVSbgG5QKUSA@mail.gmail.com>

Thanks, both

You're right, the hashtable keys already are the set of live ids, so the IDA is redundant. v2 will drop it and use the cyclic counter with the collision check as you suggested.

I'll keep this patch 32-bit and kernel-allocated to preserve current behaviour. Thank you for the heads-up on the 64-bit and user-assigned id plans, Amir. I'll keep that in mind so this doesn't get in the way of it.

Thanks,
Mahad

  reply	other threads:[~2026-06-22 18:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-21 18:31 Mahad Ibrahim
2026-06-22  7:25 ` Miklos Szeredi
2026-06-22  8:06   ` Amir Goldstein
2026-06-22 18:03     ` Mahad Ibrahim [this message]
2026-06-26 12:51 ` [PATCH v2] fuse: replace passthrough backing-id IDR with a counter and hashtable Mahad Ibrahim
2026-06-26 14:38   ` Amir Goldstein
2026-06-27 17:10     ` Mahad Ibrahim

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=DJFRY695N35Y.2GE7B8MVNUZT7@gmail.com \
    --to=mahad.ibrahim.dev@gmail.com \
    --cc=amir73il@gmail.com \
    --cc=fuse-devel@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    /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

Powered by JetHome