mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bilal Hashim <AeeSec@126.com>
To: Coly Li <colyli@fygo.io>
Cc: Kent Overstreet <kent.overstreet@linux.dev>,
	linux-bcache@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] bcache: wait for RCU grace period before rehashing btree node
Date: Fri, 4 Dec 2026 08:44:25 +0800 (CST)	[thread overview]
Message-ID: <179634506403.33844.7693480372006052259@126.com> (raw)
In-Reply-To: <axGJjXXl8-OvB5P9@studio.local>

Hi Coly,

I'm a real person, sorry for the overly formal patch wording — I'm still
getting used to kernel mailing list conventions.

I ran into the hlist_del_init_rcu() / hlist_add_head_rcu() reuse in
mca_alloc() while reading through the btree cache path and tested the
change in QEMU with lockdep enabled. If synchronize_rcu() here isn't
acceptable due to latency or if there's a better way to handle this
in bcache, I'm happy to look into an alternative approach or drop it
based on your feedback.

Thanks,
Bilal


      reply	other threads:[~2026-12-04  0:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 16:34 Bilal Hashim
2026-12-03 15:25 ` Coly Li
2026-12-04  0:44   ` Bilal Hashim [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=179634506403.33844.7693480372006052259@126.com \
    --to=aeesec@126.com \
    --cc=colyli@fygo.io \
    --cc=kent.overstreet@linux.dev \
    --cc=linux-bcache@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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®