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

2016-02-29 Thread Minfei Huang
On 02/26/16 at 04:56pm, Andrew Morton wrote: > On Thu, 25 Feb 2016 22:02:40 +0800 Minfei Huang wrote: > > > From: Minfei Huang > > > > For some arch, kexec shall map the reserved pages, then use them, when > > we try to start the kdump service. > > > > kexec may return directly, without unmapi

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

2016-02-26 Thread Andrew Morton
On Thu, 25 Feb 2016 22:02:40 +0800 Minfei Huang wrote: > From: Minfei Huang > > For some arch, kexec shall map the reserved pages, then use them, when > we try to start the kdump service. > > kexec may return directly, without unmaping the reserved pages, if it > fails during starting service.

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

2016-02-25 Thread Minfei Huang
From: Minfei Huang For some arch, kexec shall map the reserved pages, then use them, when we try to start the kdump service. 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