Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1544455
| From | Michal Marek <mmarek@suse.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: default 0 if KASAN expression not working in kbuild |
| Date | 2016-12-19 12:00 +0100 |
| Message-ID | <sQ3PI-6CU-27@gated-at.bofh.it> (permalink) |
| References | <sOINk-G7-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2016-12-15 19:09, Nikolay Borisov wrote: > Hello, > > I was doing some kasan-related debugging and when I enabled it I started > getting warnings for large stackframes. So CONFIG_FRAME_WARN has : > > int "Warn for stack frames larger than (needs gcc 4.4)" > range 0 8192 > default 0 if KASAN > default 2048 if GCC_PLUGIN_LATENT_ENTROPY > default 1024 if !64BIT > default 2048 if 64BIT > > This means that frame_warns should effectively be disabled when kasan is > enabled. However in my case this is not the situation. > http://sprunge.us/FiGf here is the config file. It does have > CONFIG_KASAN=y and CONFIG_FRAME_WARN=1024 . And even this is erroneous > since it's a 64bit kernel, so it should be 2k. I haven't manually set > the limit to 1k either. I guess the problem is that it's an option with a propt, so deviating from the default value is legitimate. And most likely the value is computed during menuconfig startup and a subsequent change of CONFIG_KASAN does not change it (because 2048 or 1048 are also valid). Michal
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
default 0 if KASAN expression not working in kbuild Nikolay Borisov <n.borisov.lkml@gmail.com> - 2016-12-15 19:20 +0100
Re: default 0 if KASAN expression not working in kbuild Randy Dunlap <rdunlap@infradead.org> - 2016-12-15 22:40 +0100
Re: default 0 if KASAN expression not working in kbuild Nikolay Borisov <n.borisov.lkml@gmail.com> - 2016-12-16 09:00 +0100
Re: default 0 if KASAN expression not working in kbuild Nikolay Borisov <n.borisov.lkml@gmail.com> - 2016-12-16 09:00 +0100
Re: default 0 if KASAN expression not working in kbuild Michal Marek <mmarek@suse.com> - 2016-12-19 12:00 +0100
csiph-web