Subject: Re: linux-next: build warning after merge of the akpm tree

From: Andrew Morton <[email-masked]>
Date: Tue, 7 Jan 2020 15:11:07 -0800

On Mon, 6 Jan 2020 17:07:44 +1100 Stephen Rothwell <[email-masked]> wrote:

> Hi all,
> 
> After merging the akpm tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
> 
> arch/x86/mm/dump_pagetables.c: In function 'ptdump_walk_pgd_level_core':
> arch/x86/mm/dump_pagetables.c:403:1: warning: the frame size of 2128 bytes is larger than 2048 bytes [-Wframe-larger-than=]
>   403 | }
>       | ^
> 
> Introduced by commit
> 
>   710fae4f03f2 ("x86: mm: convert dump_pagetables to use walk_page_range")
> 

(gdb) p sizeof(struct mm_struct)
$1 = 1664

yup, that'll do it.