Re: [PATCH 1/2] arm64, kdump: enforce to take 4G as the crashkernel low memory end

From: Mike Rapoport
Date: Wed Sep 21 2022 - 03:46:07 EST


On Tue, Sep 06, 2022 at 03:05:57PM +0200, Ard Biesheuvel wrote:
>
> While I appreciate the effort that has gone into solving this problem,
> I don't think there is any consensus that an elaborate fix is required
> to ensure that the crash kernel can be unmapped from the linear map at
> all cost. In fact, I personally think we shouldn't bother, and IIRC,
> Will made a remark along the same lines back when the Huawei engineers
> were still driving this effort.
>
> So perhaps we could align on that before doing yet another version of this?

I suggest to start with disabling crash kernel protection when its memory
reservation is deferred and then Baoquan and kdump folks can take it from
here.