mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
To: KunWu Chan <kunwu.chan@gmail.com>
Cc: "Paul E . McKenney" <paulmck@kernel.org>,
	linux-kernel@vger.kernel.org, Boqun Feng <boqun@kernel.org>,
	Bradley Morgan <brads@mainlining.org>,
	Gary Guo <gary@garyguo.net>,
	rcu@vger.kernel.org, lkmm@lists.linux.dev,
	Lian Wang <lianux.mm@gmail.com>
Subject: Re: [PATCH hazptr v3 1/4] hazptr: Fix two-phase hazptr_synchronize race with detach
Date: Fri, 16 Oct 2026 09:41:12 -0400	[thread overview]
Message-ID: <c38a5c3d-ad8b-4cb4-8ef3-a9602a1f3c38@efficios.com> (raw)
In-Reply-To: <CAN_Opa-zH=+By+Qrsrg3W0prQPNv17xCCh_n0CzfimUB9__obA@mail.gmail.com>

On 2026-10-16 04:24, KunWu Chan wrote:
> Hi Mathieu,
> 
> Scanning all per-CPU slots before the overflow lists
> addresses the race where a backup slot can be moved to
> a list that has already been scanned.
> 
> Using a separate overflow-list phase also decouples list
> selection from the wildcard phase.
> 
> 
> Reviewed-by: Kunwu Chan <chentao@kylinos.cn>

Thanks for the reviews ! I've picked them up in my own local
branches, but it would be best if Paul can add those 3 review
tags into the commits he recently picked up.

Thanks,

Mathieu

-- 
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com

  reply	other threads:[~2026-10-16 13:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-11 19:48 [PATCH hazptr v3 0/4] Hazard pointer updates Mathieu Desnoyers
2026-10-11 19:48 ` [PATCH hazptr v3 1/4] hazptr: Fix two-phase hazptr_synchronize race with detach Mathieu Desnoyers
2026-10-16  8:24   ` KunWu Chan
2026-10-16 13:41     ` Mathieu Desnoyers [this message]
2026-10-16 16:12       ` Paul E. McKenney
2026-10-11 19:48 ` [PATCH hazptr v3 2/4] ptr_eq.h: Introduce ptr_eq() to preserve address dependency Mathieu Desnoyers
2026-10-16  8:36   ` KunWu Chan
2026-10-11 19:48 ` [PATCH hazptr v3 3/4] Documentation: RCU: Refer to ptr_eq() Mathieu Desnoyers
2026-10-11 19:48 ` [PATCH hazptr v3 4/4] hazptr: Introduce "try acquire" fast path, fallback to overflow list Mathieu Desnoyers
2026-10-11 19:59   ` Bradley Morgan
2026-10-11 20:06     ` Mathieu Desnoyers
2026-10-11 20:10       ` Bradley Morgan
2026-10-16  9:05   ` KunWu Chan
2026-10-14 21:06 ` [PATCH hazptr v3 0/4] Hazard pointer updates Paul E. McKenney

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=c38a5c3d-ad8b-4cb4-8ef3-a9602a1f3c38@efficios.com \
    --to=mathieu.desnoyers@efficios.com \
    --cc=boqun@kernel.org \
    --cc=brads@mainlining.org \
    --cc=gary@garyguo.net \
    --cc=kunwu.chan@gmail.com \
    --cc=lianux.mm@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkmm@lists.linux.dev \
    --cc=paulmck@kernel.org \
    --cc=rcu@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®