Re: [PATCH] kernel/memremap.c: use ALIGN/ALIGN_DOWN to calculate align_start/end

From: Dan Williams
Date: Fri Jun 14 2019 - 02:11:10 EST


On Thu, Jun 13, 2019 at 11:02 PM Wei Yang <richardw.yang@xxxxxxxxxxxxxxx> wrote:
>
> The purpose of align_start/end is to expand to SECTION boundary. Use
> ALIGN/ALIGN_DOWN directly is more self-explain and clean.

I'm actively trying to kill this code [1] so I don't see the need for
this patch.

[1]: https://lore.kernel.org/lkml/155977193326.2443951.14201009973429527491.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/