Re: [PATCH V2 1/2] kexec: Make a pair of map/unmap reserved pages in error path

From: Andrew Morton
Date: Tue Mar 01 2016 - 16:57:04 EST


On Tue, 1 Mar 2016 16:02:28 +0800 Minfei Huang <mnfhuang@xxxxxxxxx> wrote:

> For some arch, kexec shall map the reserved pages, then use them, when
> we try to start the kdump service.

Which architectures are these, by the way?

> kexec may return directly, without unmaping the reserved pages, if it
> fails during starting service. To fix it, we make a pair of map/unmap
> reserved pages both in generic path and error path.

I'm having trouble understanding the urgency of this patch. Do you
think it is needed in 4.5? -stable? If so, why?

Thanks.