[PATCH v1 6/9] arm64: kexec: no need to ClearPageReserved()
Matthias Brugger
mbrugger at suse.com
Sun Dec 16 21:44:00 AEDT 2018
On 14/12/2018 12:10, David Hildenbrand wrote:
> This will be done by free_reserved_page().
>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will.deacon at arm.com>
> Cc: Bhupesh Sharma <bhsharma at redhat.com>
> Cc: James Morse <james.morse at arm.com>
> Cc: Marc Zyngier <marc.zyngier at arm.com>
> Cc: Dave Kleikamp <dave.kleikamp at oracle.com>
> Cc: Mark Rutland <mark.rutland at arm.com>
> Cc: Andrew Morton <akpm at linux-foundation.org>
> Cc: Michal Hocko <mhocko at kernel.org>
> Cc: Matthew Wilcox <willy at infradead.org>
> Acked-by: James Morse <james.morse at arm.com>
> Signed-off-by: David Hildenbrand <david at redhat.com>
Reviewed-by: Matthias Brugger <mbrugger at suse.com>
> ---
> arch/arm64/kernel/machine_kexec.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm64/kernel/machine_kexec.c b/arch/arm64/kernel/machine_kexec.c
> index aa9c94113700..6f0587b5e941 100644
> --- a/arch/arm64/kernel/machine_kexec.c
> +++ b/arch/arm64/kernel/machine_kexec.c
> @@ -361,7 +361,6 @@ void crash_free_reserved_phys_range(unsigned long begin, unsigned long end)
>
> for (addr = begin; addr < end; addr += PAGE_SIZE) {
> page = phys_to_page(addr);
> - ClearPageReserved(page);
> free_reserved_page(page);
> }
> }
>
More information about the Linuxppc-dev
mailing list