arm64: mm: update max_pfn after memory hotplug

Will Deacon will at kernel.org
Wed Sep 29 10:48:27 PDT 2021


On Tue, 28 Sep 2021 11:51:48 -0700, Chris Goldsworthy wrote:
> Follow up of RFC patch:
> 
> https://lore.kernel.org/linux-mm/a3bf84c4-8f35-f273-145c-55928a06f332@quicinc.com/T/#m219937b1acdd40318bbe90ab39f187804775eb74
> 
> On arm64 we set max_pfn at boot in arch/arm64/mm/init.c. If you
> hotplug in memory after booting up, max_pfn is not updated. This
> breaks diagnostic functions executed from user space like
> read_page_owner():
> 
> [...]

Applied to arm64 (for-next/mm), thanks!

[1/1] arm64: mm: update max_pfn after memory hotplug
      https://git.kernel.org/arm64/c/8fac67ca236b

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list