Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1731265

Re: fs/select.c:991:1: warning: the frame size of 1032 bytes is larger than 1024 bytes

From Helge Deller <deller@gmx.de>
Newsgroups linux.kernel
Subject Re: fs/select.c:991:1: warning: the frame size of 1032 bytes is larger than 1024 bytes
Date 2017-09-13 00:20 +0200
Message-ID <up1Hc-7bb-7@gated-at.bofh.it> (permalink)
References <uoxSO-4tP-5@gated-at.bofh.it> <uoCSt-7IE-7@gated-at.bofh.it> <uoDlw-87V-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11.09.2017 22:16, Meelis Roos wrote:
>> 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.

Details?
The ones you sent were 32bit issues (with 1024 bytes frame-size-warning):
fs/select.c:991:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
arch/parisc/kernel/inventory.c:359:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=]

Helge


>>
>> 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.
>>
> 

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

fs/select.c:991:1: warning: the frame size of 1032 bytes is larger  than 1024 bytes Meelis Roos <mroos@linux.ee> - 2017-09-11 16:30 +0200
  Re: fs/select.c:991:1: warning: the frame size of 1032 bytes is  larger than 1024 bytes Helge Deller <deller@gmx.de> - 2017-09-11 21:50 +0200
    Re: fs/select.c:991:1: warning: the frame size of 1032 bytes is  larger than 1024 bytes Meelis Roos <mroos@linux.ee> - 2017-09-11 22:20 +0200
      Re: fs/select.c:991:1: warning: the frame size of 1032 bytes is  larger than 1024 bytes Helge Deller <deller@gmx.de> - 2017-09-13 00:20 +0200

csiph-web