Re: [PATCH v4] arm64: use generic free_initrd_mem()

2019-10-16 Thread Catalin Marinas
On Sat, Sep 28, 2019 at 11:02:26AM +0300, Mike Rapoport wrote: > From: Mike Rapoport > > arm64 calls memblock_free() for the initrd area in its implementation of > free_initrd_mem(), but this call has no actual effect that late in the boot > process. By the time initrd is freed, all the reserved

Re: [PATCH v4] arm64: use generic free_initrd_mem()

2019-10-15 Thread Will Deacon
On Tue, Oct 15, 2019 at 09:39:41AM +0200, Mike Rapoport wrote: > On October 15, 2019 2:46:59 AM GMT+02:00, Will Deacon wrote: > >On Sat, Sep 28, 2019 at 11:02:26AM +0300, Mike Rapoport wrote: > >> From: Mike Rapoport > >> > >> arm64 calls memblock_free() for the initrd area in its implementation

Re: [PATCH v4] arm64: use generic free_initrd_mem()

2019-10-15 Thread Mike Rapoport
On October 15, 2019 2:46:59 AM GMT+02:00, Will Deacon wrote: >On Sat, Sep 28, 2019 at 11:02:26AM +0300, Mike Rapoport wrote: >> From: Mike Rapoport >> >> arm64 calls memblock_free() for the initrd area in its implementation >of >> free_initrd_mem(), but this call has no actual effect that late i

Re: [PATCH v4] arm64: use generic free_initrd_mem()

2019-10-14 Thread Will Deacon
On Sat, Sep 28, 2019 at 11:02:26AM +0300, Mike Rapoport wrote: > From: Mike Rapoport > > arm64 calls memblock_free() for the initrd area in its implementation of > free_initrd_mem(), but this call has no actual effect that late in the boot > process. By the time initrd is freed, all the reserved

Re: [PATCH v4] arm64: use generic free_initrd_mem()

2019-09-29 Thread Anshuman Khandual
On 09/28/2019 01:32 PM, Mike Rapoport wrote: > From: Mike Rapoport > > arm64 calls memblock_free() for the initrd area in its implementation of > free_initrd_mem(), but this call has no actual effect that late in the boot > process. By the time initrd is freed, all the reserved memory is manage

[PATCH v4] arm64: use generic free_initrd_mem()

2019-09-28 Thread Mike Rapoport
From: Mike Rapoport arm64 calls memblock_free() for the initrd area in its implementation of free_initrd_mem(), but this call has no actual effect that late in the boot process. By the time initrd is freed, all the reserved memory is managed by the page allocator and the memblock.reserved is unus