Re: [PATCH] crash_core: Fix the check for whether crashkernel is from high memory

From: Andrew Morton
Date: Sat Dec 09 2023 - 17:34:24 EST


On Sat, 9 Dec 2023 22:14:38 +0800 Yuntao Wang <ytcoode@xxxxxxxxx> wrote:

> If crash_base is equal to CRASH_ADDR_LOW_MAX, it also indicates that
> the crashkernel memory is allocated from high memory. However, the
> current check only considers the case where crash_base is greater than
> CRASH_ADDR_LOW_MAX. Fix it.
>
> This patch also includes some minor cleanups.

Can we please include a description of the runtime effects of this
change? ie, what happens now and under what circumstances, and how
does the fix alter these things?