From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=172.105.4.254 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796502546; b=wtwJHK/eqv7Dy8pXhc41ZrRrO4j7Uksc8gaT+iaFAWRLGcILHhu/61Vzx1pzI4Esxl2T 7vF4vClpo/PDB6km99+HiGEiwB4Vjjd5yAJMUs8nhz9kYhOqMGPfXZjH3uSKnyLwL68pq 67c5xDb3AjNzN6gFpW/rdXo83v9ohT50P4bAhYXPrpTppQMnS0b1iR5gOWqkG6PeaoUVR EDJKulRz2NAxEcKwu8DRXghMB2OQ3GF6f+Jnz84pxqR/U6in97n/BP3nggkk1Y8Pon+B0 hzyB8H9Qq3ialMvKLCzf+hE371Ibu23iQeUb67BbgNARXA8noMSsKZrgtDjMijUUCiA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796502546; h=DMARC-Filter:Received:Received:DKIM-Signature:Message-ID:From: Subject:Reply-To:To:Cc:In-Reply-To:References:Content-Type: Content-Transfer-Encoding:Date; bh=DLZkKThWVgL+c2mrqsxTjysBCXByqXxpnq7qTv7DMKI=; b=ssYt1g8dTloE+INl5/BLrWOfWFyHhE/OehriJh4Qf1tV/r52oA9OXhmD1anP3j/HR+k5 +GG0mdsY5Wft1GFc6KIEFSs8XdEv7DtGzCjILdPC+vJ+pwFqbow6Ux7ITtqPTrdOyAkKz vRSq72y/PC7Ooo1o5qe4NhJtDRU/mZVIN4RByZrgrXVpaXDBIcrKM8fKPPiTHCiXSLrUa Vd18L0hvVcHWrrX2pr5MBePTDFivJZA4dcPFywNu5PJvNSRKI5lqSsG53JzZdy6bQ/wLa e78QG8xUM2qWu3k/i3Bxtn48xLubox94lbG+x386W88VZfwj3NXr79Qh9XeK04GzwjA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=kernel.org; spf=pass smtp.mailfrom=kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="beEty/5i"; arc=none smtp.remote-ip=172.105.4.254 Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ECBE8606A338 for ; Sat, 5 Dec 2026 20:29:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org ECBE8606A338 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=beEty/5i Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 4EB016128F; Sat, 5 Dec 2026 20:29:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DEAE81F00A07; Sat, 5 Dec 2026 20:29:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796502545; bh=DLZkKThWVgL+c2mrqsxTjysBCXByqXxpnq7qTv7DMKI=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=beEty/5ipt8mpHDdec+g8uSqOo5Y2nEQa2Wh3sMGY0H93j+JntC7E3TT4r7AKiBV6 LWAPTSSVnHw2x+ZeVcFSEixONlB+dkNUWYKi/n12fnhQweUZGQ8XdgoyZXt3QsXXrE fendBpHGeISZ5vtnYJikI2nb1nPlbhkkXbMLJAFmiHDf1l6kbrptuLqUZhMLJ4Rn+b 8KdHbCJtKEq3Q2XMJU9wzRp9YmuU7vVAS1E31fNs15XR1S6ukrO2NDagLpkFXAEG7y oF4uVapCoyKGhvwii8m0UqNZHtNCHboJzrDgBdd6tHX2Bh432kpQ8xKwhxOhN0RJ1b HsV3BQOsNBP8A== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v7 3/7] modpost: cache section relocation mismatch state Reply-To: sashiko-reviews@lists.linux.dev To: =?utf-8?b?TG9yZW56byBTdG9ha2VzIChBUk0p?= , "Linus Torvalds" , "Nathan Chancellor" , "Nicolas Schier" , "Nick Desaulniers" , "Bill Wendling" , "Justin Stitt" , "Geert Uytterhoeven" , "Luis Chamberlain" , "Petr Pavlu" , "Daniel Gomez" , "Sami Tolvanen" , "Aaron Tomlin" , "Josh Poimboeuf" , "Peter Zijlstra" , "Miguel Ojeda" , "Boqun Feng" , "Gary Guo" , =?utf-8?b?QmrDtnJuIFJveSBCYXJvbg==?= , "Benno Lossin" , "Andreas Hindborg" , "Alice Ryhl" , "Trevor Gross" , "Danilo Krummrich" , "Daniel Almeida" , "Tamir Duberstein" , "Alexandre Courbot" , =?utf-8?b?T251ciDDlnprYW4=?= , "Nicolas Schier" , "Kees Cook" Cc: linux-kbuild@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-modules@vger.kernel.org In-Reply-To: <20261204-build-speedup-v7-3-19a89034d8d1@kernel.org> References: <20261204-build-speedup-v7-0-19a89034d8d1@kernel.org> <20261204-build-speedup-v7-3-19a89034d8d1@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 05 Dec 2026 20:29:03 +0000 X-Mailing-List: linux-m68k@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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) 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. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204-build-spee= dup-v7-0-19a89034d8d1@kernel.org?part=3D3