[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MINI-OS PATCH 06/12] kexec: reserve memory below boundary
On Fri, Mar 21, 2025 at 5:31 AM Juergen Gross <jgross@xxxxxxxx> wrote: > > In order to support kexec any memory used during copying the new > kernel to its final destination must not overlap with the destination > area. > > In order to achieve that add a new interface allowing to mark all > allocatable memory below a specific physical address as not available. > > This is done by walking through all chunks of the buddy allocator and > removing the chunks (or chunk parts) below the boundary. The removed > chunks are put into a list in order to be able to undo the operation > in case kexec is failing before doing any unrecoverable system > modifications. > > Any pages freed located below the boundary need to go directly into > the list of reserved pages instead of the free pool. > > Call the new function from kexec code. > > Signed-off-by: Juergen Gross <jgross@xxxxxxxx> Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |