From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796502545; b=oLBHZ6Jc1b/tR552DtGE+zKR7TJGQkmaTebFgADWXwJsziVAkjPQf+lxoxNw5s+r1n67 js0soJKTfNIIoHFX8chYcNZPr0BbIo8V3aPVOVeIl5KczoYfjgS9k5iUpqsdrS3gXclyO 7s2cN+v3F9wdiiXTAe6+QTu0pdMCvzaolNemkrc3527+FeFV58TVOIlnH0kl57cnb+KyM /NTcUyTQWXNVPg2PZyJZCOrEVEsbma+/ZZtaOo5LD0AJFloBbDq52wnNIfSPdJhhkP5L8 UlfCnmNlfY+lu+5LxNtgdwyUbhmOq6b/EByjw0XTOmGBxzH3xPoM+34VH7XPHw0ok7Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796502545; h=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=Lo+Q0IfM40A6iFEhxVayPugl4wAj17BLC3DCu13LGWdTP+eRA5xZWu+TbOGDtiVOlLZE 0iC8szQqxab6zX2YXbf79Kt+mhOmVmZjT7FzDA0r0xkhg0OrdlkhXR6wkWc6GBcUa2R2L Bg8yejZ/7HnxJy3G5RUF6DayKYjfftHZOuYu60pXbMwi8hT2/AsXA9y6gb6NDHwzVHHQz OOSz/7KdjB81Z1wLXSnop5OpTxZET+I3giGnnlztCl6umzHsb7QSX1q9IXHHSxGt071Jk VgKGGkopyzJ/ufH991tL9+utWGGSPbV3VUCx0PT1EBWZC/muWYNYNcj0OyGGM4/tZvQ== ARC-Authentication-Results: i=1; smtp.subspace.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=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (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 641F2606A338; Sat, 5 Dec 2026 20:29:05 +0000 (UTC) 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: 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-modules@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