Re: [PATCH] kbuild: keep .modinfo when vmlinux is linked with --gc-sections

From: Lorenzo Stoakes (ARM)

Date: Mon Sep 28 2026 - 08:29:33 EST


On Mon, Sep 28, 2026 at 01:56:28PM +0200, Nathan Chancellor wrote:
> On Mon, Sep 28, 2026 at 12:15:46PM +0100, Lorenzo Stoakes (ARM) wrote:
> > Nathan - do you want me to fold this into the 1st patch of my series on respin
> > or fine to treat separately?
>
> Let's keep it separate since it is an existing issue and might want
> to be backported in its own right.
>
> I applied a subset of your series to kbuild-next-speedups to begin
> exposing the "ready to go" (IMO at least) bits to -next (good thing
> since it found this). You should be able to rebase on that for
> subsequent versions, although maybe we still want to include those
> changes for
> others to continue to review but *shrug*. If there are follow up review
> comments, just send delta patches and I will decide if I want to keep
> them separate or squash them.

Ack, will rebase on that and send deltas from here on out on those.

Easiest to keep things straight on my side would be to stop sending those
patches, I can list them in the cover letter with links to the originals
for any further review?

As for what remains, is there anything else I need to do?

I think timing this week is less than ideal with LPC next week so people
have less time to go through it but it does feel like things are
stabilising (despite the large changelog for v4 ;)

Thanks for all your help with this! Is much appreciated.

>
> --
> Cheers,
> Nathan

--
Cheers, Lorenzo