Linux kbuild/kconfig development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>,
	"Linus Torvalds" <torvalds@linux-foundation.org>,
	"Nathan Chancellor" <nathan@kernel.org>,
	"Nicolas Schier" <nsc@kernel.org>,
	"Nick Desaulniers" <ndesaulniers@google.com>,
	"Bill Wendling" <morbo@google.com>,
	"Justin Stitt" <justinstitt@google.com>,
	"Geert Uytterhoeven" <geert@linux-m68k.org>,
	"Luis Chamberlain" <mcgrof@kernel.org>,
	"Petr Pavlu" <petr.pavlu@suse.com>,
	"Daniel Gomez" <da.gomez@kernel.org>,
	"Sami Tolvanen" <samitolvanen@google.com>,
	"Aaron Tomlin" <atomlin@atomlin.com>,
	"Josh Poimboeuf" <jpoimboe@kernel.org>,
	"Peter Zijlstra" <peterz@infradead.org>,
	"Miguel Ojeda" <ojeda@kernel.org>,
	"Boqun Feng" <boqun@kernel.org>, "Gary Guo" <gary@garyguo.net>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <lossin@kernel.org>,
	"Andreas Hindborg" <a.hindborg@kernel.org>,
	"Alice Ryhl" <aliceryhl@google.com>,
	"Trevor Gross" <tmgross@umich.edu>,
	"Danilo Krummrich" <dakr@kernel.org>,
	"Daniel Almeida" <daniel.almeida@collabora.com>,
	"Tamir Duberstein" <tamird@kernel.org>,
	"Alexandre Courbot" <acourbot@nvidia.com>,
	"Onur Özkan" <work@onurozkan.dev>,
	"Nicolas Schier" <n.schier@fritz.com>,
	"Kees Cook" <kees@kernel.org>
Cc: linux-kbuild@vger.kernel.org, linux-m68k@lists.linux-m68k.org,
	linux-modules@vger.kernel.org
Subject: Re: [PATCH v7 3/7] modpost: cache section relocation mismatch state
Date: Sat, 05 Dec 2026 20:29:03 +0000	[thread overview]
Message-ID: <sashiko-outbox-251887@kernel.org> (raw)
In-Reply-To: <20261204-build-speedup-v7-3-19a89034d8d1@kernel.org>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] modpost: commit message inaccurately claims SHN_UNDEF takes
  uncached path
--

commit ede990163f6a2969037e5b7d90127679cd414a2c
Author: Lorenzo Stoakes (ARM) <ljs@kernel.org>

modpost: cache section relocation mismatch state

This commit caches section relocation mismatch lookups in modpost per source
section check class, indexed by destination section.

> Special indices (undefined, absolute, common) take the uncached path as
> before.

[Severity: Low]
Does SHN_UNDEF actually take the uncached path?

get_secindex() only remaps reserved indices in SHN_LORESERVE..SHN_HIRESERVE
(covering SHN_ABS and SHN_COMMON) above elf->num_sections, while SHN_UNDEF
is returned as 0.  Since 0 is below elf->num_sections, get_section_mismatch()
caches it at elf->mismatch_cache[0] instead of taking the uncached path.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-build-speedup-v7-0-19a89034d8d1@kernel.org?part=3

  reply	other threads:[~2026-12-05 20:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 20:27 [PATCH v7 0/7] kbuild: significantly speed up kernel builds Lorenzo Stoakes (ARM)
2026-12-04 20:27 ` [PATCH v7 1/7] kbuild: calculate list, composite object state per object Lorenzo Stoakes (ARM)
2026-12-04 20:27 ` [PATCH v7 2/7] kbuild: implement and use depcheck to check dependency timestamps Lorenzo Stoakes (ARM)
2026-12-05 20:29   ` sashiko-bot
2026-12-04 20:27 ` [PATCH v7 3/7] modpost: cache section relocation mismatch state Lorenzo Stoakes (ARM)
2026-12-05 20:29   ` sashiko-bot [this message]
2026-12-04 20:27 ` [PATCH v7 4/7] modpost: emit module descriptors as assembly Lorenzo Stoakes (ARM)
2026-12-05 20:29   ` sashiko-bot
2026-12-04 20:27 ` [PATCH v7 5/7] kbuild: batch module finalisation Lorenzo Stoakes (ARM)
2026-12-04 20:27 ` [PATCH v7 6/7] rust: make exports.o depend on the headers generated for it Lorenzo Stoakes (ARM)
2026-12-04 20:27 ` [PATCH v7 7/7] kbuild: build rust crates in parallel with the rest of the build Lorenzo Stoakes (ARM)

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-251887@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=a.hindborg@kernel.org \
    --cc=acourbot@nvidia.com \
    --cc=aliceryhl@google.com \
    --cc=atomlin@atomlin.com \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun@kernel.org \
    --cc=da.gomez@kernel.org \
    --cc=dakr@kernel.org \
    --cc=daniel.almeida@collabora.com \
    --cc=gary@garyguo.net \
    --cc=geert@linux-m68k.org \
    --cc=jpoimboe@kernel.org \
    --cc=justinstitt@google.com \
    --cc=kees@kernel.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=linux-modules@vger.kernel.org \
    --cc=ljs@kernel.org \
    --cc=lossin@kernel.org \
    --cc=mcgrof@kernel.org \
    --cc=morbo@google.com \
    --cc=n.schier@fritz.com \
    --cc=nathan@kernel.org \
    --cc=ndesaulniers@google.com \
    --cc=nsc@kernel.org \
    --cc=ojeda@kernel.org \
    --cc=peterz@infradead.org \
    --cc=petr.pavlu@suse.com \
    --cc=samitolvanen@google.com \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=tamird@kernel.org \
    --cc=tmgross@umich.edu \
    --cc=torvalds@linux-foundation.org \
    --cc=work@onurozkan.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox