From: sashiko-bot@kernel.org
To: "Karl Mehltretter" <kmehltretter@gmail.com>
Cc: linux-trace-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/3] arm64: Always inline raw preempt count updates
Date: Thu, 26 Nov 2026 02:48:08 +0000 [thread overview]
Message-ID: <sashiko-outbox-234661@kernel.org> (raw)
In-Reply-To: <5ba8c2a33188f43f0b1d99d6ba97c8ea2e285f94.1795631277.git.kmehltretter@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] arm64: preempt: missing Fixes trailer for commit 396244692232
--
commit a74839092cf53755b620bd601b786aba597286cc
Author: Hongyan Xia <hongyan.xia@transsion.com>
> arm64: Always inline raw preempt count updates
>
> Raw preempt count updates can be emitted out of line by the compiler.
> For a noinstr caller, that puts the update in ordinary instrumentable
> text. Force __preempt_count_add() and __preempt_count_sub() inline so
> their code stays in the caller's section.
>
> Link: https://lore.kernel.org/all/c3a90368dd6c096af9d918e036a27728696fb8a4.1786603168.git.hongyan.xia@transsion.com/
> Signed-off-by: Hongyan Xia <hongyan.xia@transsion.com>
> [kmehltretter: split out the arm64 preempt.h hunk and rewrite the changelog]
> Reviewed-by: Hongyan Xia <hongyan.xia@transsion.com>
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
[Severity: Low]
__preempt_count_add() and __preempt_count_sub() were defined as plain
static inline when arm64 stopped using include/asm-generic/preempt.h.
Should this include:
Fixes: 396244692232 ("arm64: preempt: Provide our own implementation of asm/preempt.h")
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1795631277.git.kmehltretter@gmail.com?part=1
next prev parent reply other threads:[~2026-11-26 2:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 2:30 [PATCH v2 0/3] sched/preempt: Check notrace preempt-count updates Karl Mehltretter
2026-11-26 2:30 ` [PATCH v2 1/3] arm64: Always inline raw preempt count updates Karl Mehltretter
2026-11-26 2:48 ` sashiko-bot [this message]
2026-11-26 3:52 ` Li kunyu
2026-11-27 13:41 ` Catalin Marinas
2026-11-26 2:30 ` [PATCH v2 2/3] arm64: Always inline preempt count and reschedule checks Karl Mehltretter
2026-11-26 2:51 ` Hongyan Xia
2026-11-27 13:42 ` Catalin Marinas
2026-11-26 2:30 ` [PATCH v2 3/3] sched/preempt: Check preempt counts in notrace helpers Karl Mehltretter
2026-11-26 2:55 ` Hongyan Xia
2026-11-26 18:34 ` [PATCH v2 0/3] sched/preempt: Check notrace preempt-count updates Peter Zijlstra
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=sashiko-outbox-234661@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=kmehltretter@gmail.com \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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.