lkml.org 
[lkml]   [2017]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: fs/select.c:991:1: warning: the frame size of 1032 bytes is larger than 1024 bytes
> Meelis, this patch should fix both issues.
> Can you test?

At least one of the warnings is still there - but I am on a 64-bit
kernel on RP3440, RP3410 and A500 where I saw this.
>
> Helge
>
> [PATCH] parisc: Fix too large frame size warnings
>
> The parisc architecture requires larger stack frames than most other
> architectures on 32-bit kernels.
> Increase the default to 1280 bytes for parisc to avoid warnings in
> do_sys_poll() and pat_memconfig() functions.
>
> Signed-off-by: Helge Deller <deller@gmx.de>
>
> diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
> index b19c491cbc4e..2689b7c50c52 100644
> --- a/lib/Kconfig.debug
> +++ b/lib/Kconfig.debug
> @@ -219,7 +219,8 @@ config FRAME_WARN
> range 0 8192
> default 0 if KASAN
> default 2048 if GCC_PLUGIN_LATENT_ENTROPY
> - default 1024 if !64BIT
> + default 1280 if (!64BIT && PARISC)
> + default 1024 if (!64BIT && !PARISC)
> default 2048 if 64BIT
> help
> Tell gcc to warn at build time for stack frames larger than this.
>

--
Meelis Roos (mroos@linux.ee)

\
 
 \ /
  Last update: 2017-09-11 22:16    [W:0.038 / U:11.400 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site