2019-01-14 13:02:44

by David Hildenbrand

[permalink] [raw]
Subject: [PATCH v2 6/9] arm64: kexec: no need to ClearPageReserved()

This will be done by free_reserved_page().

Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Bhupesh Sharma <[email protected]>
Cc: James Morse <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Dave Kleikamp <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Acked-by: James Morse <[email protected]>
Signed-off-by: David Hildenbrand <[email protected]>
---
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);
}
}
--
2.17.2



2019-01-14 15:53:41

by Bhupesh Sharma

[permalink] [raw]
Subject: Re: [PATCH v2 6/9] arm64: kexec: no need to ClearPageReserved()

Hi David,

Thanks for the patch.

On Mon, Jan 14, 2019 at 6:29 PM David Hildenbrand <[email protected]> wrote:
>
> This will be done by free_reserved_page().
>
> Cc: Catalin Marinas <[email protected]>
> Cc: Will Deacon <[email protected]>
> Cc: Bhupesh Sharma <[email protected]>
> Cc: James Morse <[email protected]>
> Cc: Marc Zyngier <[email protected]>
> Cc: Dave Kleikamp <[email protected]>
> Cc: Mark Rutland <[email protected]>
> Cc: Andrew Morton <[email protected]>
> Cc: Michal Hocko <[email protected]>
> Cc: Matthew Wilcox <[email protected]>
> Acked-by: James Morse <[email protected]>
> Signed-off-by: David Hildenbrand <[email protected]>
> ---
> 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);
> }
> }
> --
> 2.17.2
>

Reviewed-by: Bhupesh Sharma <[email protected]>

2019-01-25 16:25:53

by Catalin Marinas

[permalink] [raw]
Subject: Re: [PATCH v2 6/9] arm64: kexec: no need to ClearPageReserved()

On Mon, Jan 14, 2019 at 01:59:00PM +0100, David Hildenbrand wrote:
> This will be done by free_reserved_page().
>
> Cc: Catalin Marinas <[email protected]>
> Cc: Will Deacon <[email protected]>
> Cc: Bhupesh Sharma <[email protected]>
> Cc: James Morse <[email protected]>
> Cc: Marc Zyngier <[email protected]>
> Cc: Dave Kleikamp <[email protected]>
> Cc: Mark Rutland <[email protected]>
> Cc: Andrew Morton <[email protected]>
> Cc: Michal Hocko <[email protected]>
> Cc: Matthew Wilcox <[email protected]>
> Acked-by: James Morse <[email protected]>
> Signed-off-by: David Hildenbrand <[email protected]>

Acked-by: Catalin Marinas <[email protected]>