Thread (34 messages) 34 messages, 6 authors, 2020-08-05

Re: [PATCH v2 13/17] x86/setup: simplify initrd relocation and reservation

From: Mike Rapoport <rppt@kernel.org>
Date: 2020-08-05 05:59:27
Also in: linux-arm-kernel, linux-iommu, linux-mips, linux-mm, linux-riscv, linux-s390, linux-sh, linuxppc-dev, lkml, sparclinux

On Wed, Aug 05, 2020 at 12:20:24PM +0800, Baoquan He wrote:
On 08/02/20 at 07:35pm, Mike Rapoport wrote:
quoted
From: Mike Rapoport <redacted>

Currently, initrd image is reserved very early during setup and then it
might be relocated and re-reserved after the initial physical memory
mapping is created. The "late" reservation of memblock verifies that mapped
memory size exceeds the size of initrd, the checks whether the relocation
                                          ~ then?
Right, thanks!
quoted
required and, if yes, relocates inirtd to a new memory allocated from
memblock and frees the old location.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help