Re: [PATCH] mm/sparse: fix BUILD_BUG_ON check for section map alignment

From: Andrew Morton

Date: Wed Apr 01 2026 - 12:53:49 EST


On Wed, 1 Apr 2026 09:26:49 +0200 "David Hildenbrand (Arm)" <david@xxxxxxxxxx> wrote:

> > My original motivation was simply that when I read this part of the code,
> > the comment felt a bit off to me, so I just fixed it casually. But if it
> > ends up creating the impression that "we might be supporting something
> > we don't," as you said, then I'm fine with dropping this patch.
>
> Can you rework your patch to only simplify the comment, and to clarify
> that we always expect a single section to cover full pages?

And to fix the sh4-allnoconfig build breakage ;)

https://lkml.kernel.org/r/202604011400.OFLcOOmf-lkp@xxxxxxxxx

I'll disappear this patch.