From: no-reply@sashiko.virtuozzo.com
To: Eva Kurchatova <eva.kurchatova@virtuozzo.com>,
khorenko@virtuozzo.com, vladimir.riabchun@virtuozzo.com
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2 2/4] ms/refcount: provide ops for cases when object's memory can be reused
Date: Thu, 19 Nov 2026 06:38:27 +0000 [thread overview]
Message-ID: <010701a1f2872b85-1f2bd042-f61b-4640-8d81-802485990d5e-000000@eu-central-1.amazonses.com> (raw)
In-Reply-To: <20261119063525.1233606-3-eva.kurchatova@virtuozzo.com>
> From: Suren Baghdasaryan <surenb@google.com>
>
> [ Upstream commit 7f8ceea0c58039dcea3d31b8d5da58aa5f6e12bf ]
>
> For speculative lookups where a successful inc_not_zero() pins the object,
> but where we still need to double check if the object acquired is indeed
> the one we set out to acquire (identity check), needs this validation to
> happen *after* the increment. Similarly, when a new object is initialized
> and its memory might have been previously occupied by another object, all
> stores to initialize the object should happen *before* refcount
> initialization.
>
> Notably SLAB_TYPESAFE_BY_RCU is one such an example when this ordering is
> required for reference counting.
>
> [ ... ]
>
> https://virtuozzo.atlassian.net/browse/VSTOR-155530
> Feature: fix ms/net
>
> Signed-off-by: Eva Kurchatova <eva.kurchatova@virtuozzo.com>
Sashiko has reviewed this patch and found no issues.
Carry the trailer below into the next revision and Sashiko will not review this patch again.
Reviewed-by: Sashiko <no-reply@sashiko.virtuozzo.com>
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261119063525.1233606-1-eva.kurchatova@virtuozzo.com?part=2
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
next prev parent reply other threads:[~2026-11-19 6:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 6:32 [Devel] [PATCH hci-8.2 0/4] ms/mptcp: backport msk refcount fixes Eva Kurchatova
2026-11-19 6:32 ` [Devel] [PATCH hci-8.2 1/4] ms/mptcp: only reset subflow errors when propagated Eva Kurchatova
2026-11-19 6:38 ` no-reply
2026-11-19 17:09 ` Konstantin Khorenko
2026-11-19 6:32 ` [Devel] [PATCH hci-8.2 2/4] ms/refcount: provide ops for cases when object's memory can be reused Eva Kurchatova
2026-11-19 6:38 ` no-reply [this message]
2026-11-19 17:09 ` Konstantin Khorenko
2026-11-19 6:32 ` [Devel] [PATCH hci-8.2 3/4] ms/mptcp: hold MP_JOIN msk ref when cloning reqsk Eva Kurchatova
2026-11-19 6:41 ` no-reply
2026-11-19 17:09 ` Konstantin Khorenko
2026-11-19 6:32 ` [Devel] [PATCH hci-8.2 4/4] ms/mptcp: fix MP_CAPABLE token migration " Eva Kurchatova
2026-11-19 6:42 ` no-reply
2026-11-19 17:09 ` Konstantin Khorenko
2026-11-19 17:09 ` [Devel] [PATCH hci-8.2 0/4] ms/mptcp: backport msk refcount fixes Konstantin Khorenko
2026-11-19 17:10 ` Konstantin Khorenko
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=010701a1f2872b85-1f2bd042-f61b-4640-8d81-802485990d5e-000000@eu-central-1.amazonses.com \
--to=no-reply@sashiko.virtuozzo.com \
--cc=devel@openvz.org \
--cc=eva.kurchatova@virtuozzo.com \
--cc=khorenko@virtuozzo.com \
--cc=vladimir.riabchun@virtuozzo.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.