* [Suggestion] arch: s390: mm: the warnings with allmodconfig and "EXTRA_CFLAGS=-W" [not found] <51C8F685.6000209@asianux.com> @ 2013-06-25 1:54 ` Chen Gang 2013-06-25 6:50 ` Martin Schwidefsky 0 siblings, 1 reply; 3+ messages in thread From: Chen Gang @ 2013-06-25 1:54 UTC (permalink / raw) To: Martin Schwidefsky, Heiko Carstens Cc: linux390, cornelia.huck, mtosatti, Thomas Gleixner, linux-s390, linux-kernel, Linux-Arch, linux-mm Hello Maintainers: When allmodconfig for " IBM zSeries model z800 and z900" It will report the related warnings ("EXTRA_CFLAGS=-W"): mm/slub.c:1875:1: warning: ?deactivate_slab? uses dynamic stack allocation [enabled by default] mm/slub.c:1941:1: warning: ?unfreeze_partials.isra.32? uses dynamic stack allocation [enabled by default] mm/slub.c:2575:1: warning: ?__slab_free? uses dynamic stack allocation [enabled by default] mm/slub.c:1582:1: warning: ?get_partial_node.isra.34? uses dynamic stack allocation [enabled by default] mm/slub.c:2311:1: warning: ?__slab_alloc.constprop.42? uses dynamic stack allocation [enabled by default] Is it OK ? Thanks. -- Chen Gang Asianux Corporation -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Suggestion] arch: s390: mm: the warnings with allmodconfig and "EXTRA_CFLAGS=-W" 2013-06-25 1:54 ` [Suggestion] arch: s390: mm: the warnings with allmodconfig and "EXTRA_CFLAGS=-W" Chen Gang @ 2013-06-25 6:50 ` Martin Schwidefsky 2013-06-25 7:25 ` Chen Gang 0 siblings, 1 reply; 3+ messages in thread From: Martin Schwidefsky @ 2013-06-25 6:50 UTC (permalink / raw) To: Chen Gang Cc: Heiko Carstens, linux390, cornelia.huck, mtosatti, Thomas Gleixner, linux-s390, linux-kernel, Linux-Arch, linux-mm On Tue, 25 Jun 2013 09:54:41 +0800 Chen Gang <gang.chen@asianux.com> wrote: > Hello Maintainers: > > When allmodconfig for " IBM zSeries model z800 and z900" > > It will report the related warnings ("EXTRA_CFLAGS=-W"): > mm/slub.c:1875:1: warning: ‘deactivate_slab’ uses dynamic stack allocation [enabled by default] > mm/slub.c:1941:1: warning: ‘unfreeze_partials.isra.32’ uses dynamic stack allocation [enabled by default] > mm/slub.c:2575:1: warning: ‘__slab_free’ uses dynamic stack allocation [enabled by default] > mm/slub.c:1582:1: warning: ‘get_partial_node.isra.34’ uses dynamic stack allocation [enabled by default] > mm/slub.c:2311:1: warning: ‘__slab_alloc.constprop.42’ uses dynamic stack allocation [enabled by default] > > Is it OK ? Yes, these warnings should be ok. They are enabled by CONFIG_WARN_DYNAMIC_STACK, the purpose is to find all functions with dynamic stack allocations. The check if the allocations are truly ok needs to be done manually as the compiler can not find out the maximum allocation size automatically. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Suggestion] arch: s390: mm: the warnings with allmodconfig and "EXTRA_CFLAGS=-W" 2013-06-25 6:50 ` Martin Schwidefsky @ 2013-06-25 7:25 ` Chen Gang 0 siblings, 0 replies; 3+ messages in thread From: Chen Gang @ 2013-06-25 7:25 UTC (permalink / raw) To: Martin Schwidefsky Cc: Heiko Carstens, linux390, cornelia.huck, mtosatti, Thomas Gleixner, linux-s390, linux-kernel, Linux-Arch, linux-mm On 06/25/2013 02:50 PM, Martin Schwidefsky wrote: > On Tue, 25 Jun 2013 09:54:41 +0800 > Chen Gang <gang.chen@asianux.com> wrote: > >> > Hello Maintainers: >> > >> > When allmodconfig for " IBM zSeries model z800 and z900" >> > >> > It will report the related warnings ("EXTRA_CFLAGS=-W"): >> > mm/slub.c:1875:1: warning: a??deactivate_slaba?? uses dynamic stack allocation [enabled by default] >> > mm/slub.c:1941:1: warning: a??unfreeze_partials.isra.32a?? uses dynamic stack allocation [enabled by default] >> > mm/slub.c:2575:1: warning: a??__slab_freea?? uses dynamic stack allocation [enabled by default] >> > mm/slub.c:1582:1: warning: a??get_partial_node.isra.34a?? uses dynamic stack allocation [enabled by default] >> > mm/slub.c:2311:1: warning: a??__slab_alloc.constprop.42a?? uses dynamic stack allocation [enabled by default] >> > >> > Is it OK ? > Yes, these warnings should be ok. They are enabled by CONFIG_WARN_DYNAMIC_STACK, > the purpose is to find all functions with dynamic stack allocations. The check > if the allocations are truly ok needs to be done manually as the compiler > can not find out the maximum allocation size automatically. Thank you very much for your details information. -- Chen Gang Asianux Corporation -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-06-25 7:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <51C8F685.6000209@asianux.com>
2013-06-25 1:54 ` [Suggestion] arch: s390: mm: the warnings with allmodconfig and "EXTRA_CFLAGS=-W" Chen Gang
2013-06-25 6:50 ` Martin Schwidefsky
2013-06-25 7:25 ` Chen Gang
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox