[PATCH 0/2] Fix page_owner broken on arm64

Andrew Morton akpm at linux-foundation.org
Wed Mar 17 22:23:12 GMT 2021


On Wed, 17 Mar 2021 14:20:48 +0000 Chen Jun <chenjun102 at huawei.com> wrote:

> On arm64, cat /sys/kernel/debug/page_owner
> All pages return the same stack
>  stack_trace_save+0x4c/0x78
>  register_early_stack+0x34/0x70
>  init_page_owner+0x34/0x230
>  page_ext_init+0x1bc/0x1dc
> 
> The reason is arch_stack_walk save 2 more entries than before.
> 
> To fix it, add skip in arch_stack_walk
> 
> *** BLURB HERE ***
> 
> 1. Prepare for 2, move stacktrace_cookie to .h
> 2. Fix the problem
> 

5fc57df2f6fd was September 2020, so I assume we'll be needing cc:stable
on these?

(I'll also assume that the arm folks will be handling these)



More information about the linux-arm-kernel mailing list