From: sashiko-bot@kernel.org
To: JonasZhou-oc <jonaszhou-oc@zhaoxin.com>
Cc: linux-ext4@vger.kernel.org, tytso@mit.edu
Subject: Re: [PATCH] ext4: isolate s_orphan_lock from read-mostly fields
Date: Thu, 03 Sep 2026 02:23:30 +0000 [thread overview]
Message-ID: <20260903022331.335811F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260903021836.962624-1-jonaszhou-oc@zhaoxin.com>
> From: Jonas Zhou <jonaszhou@zhaoxin.com>
>
> s_orphan_lock is modified by orphan-list operations, but currently shares
> a cache line with s_journal and s_ext4_flags. The latter fields are read
> from common ext4 paths, so unrelated accesses can cause the line containing
> the lock to bounce between CPUs.
>
> On a two-socket Intel Xeon Silver 4208 system with 16 workers, throughput
> improved by 4.6% for stress-ng.dnotify and 1.7% for stress-ng.unlink. Perf
> c2c showed that HITM events on the affected fields decreased from 3,699 to
> 3,125 (-15.5%) for stress-ng.dnotify and from 1,368 to 571 (-58.3%) for
> stress-ng.unlink. Remote HITM events decreased by 45.1% and 65.5%,
> respectively. The journal/flags line had no remote HITM events after the
> change; the remaining remote HITM events were on the orphan-lock line.
>
> Signed-off-by: Jonas Zhou <jonaszhou@zhaoxin.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260903021836.962624-1-jonaszhou-oc@zhaoxin.com?part=1
next prev parent reply other threads:[~2026-09-03 2:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-03 2:18 [PATCH] ext4: isolate s_orphan_lock from read-mostly fields JonasZhou-oc
2026-09-03 2:23 ` sashiko-bot [this message]
2026-09-03 10:25 ` Jan Kara
2026-09-07 10:55 ` JonasZhou-oc
2026-09-07 11:12 ` [PATCH v2] ext4: move journal state away from orphan list updates JonasZhou-oc
2026-09-07 11:23 ` sashiko-bot
2026-09-08 11:14 ` Jan Kara
2026-09-11 3:31 ` [PATCH v3] ext4: move orphan tracking away from journal state JonasZhou-oc
2026-09-11 3:44 ` sashiko-bot
2026-09-11 9:40 ` Jan Kara
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=20260903022331.335811F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=jonaszhou-oc@zhaoxin.com \
--cc=linux-ext4@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=tytso@mit.edu \
/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.