Skip to contentSkip to conversation

Request for inclusion of fb90a6e93c0684 ("sched/debug: Don't dump sched debug info in SysRq-W")

DISCUSSION Nikolay Borisov 4 participants 5 messages Feb 15, 2017 Stable branch

lore
Share & tools
lore
#0 lore raw

Hello,

I'd like to ask for the patch in the subject to be included in stable kernels. Without it if one wants to see only the blocked stats this becomes impossible since the information dumped by sched_debug is so much that it overflows the kmsg buffer and information about blocked stats is overwritten. This is especially a problem in distro kernels which are based on 4.4 and have enabled CONFIG_SCHED_DEBUG - e.g. ubuntu.

Regards,
Nikolay

#1 lore raw
Quoted 8 lines · Nikolay Borisov

Hello,

I'd like to ask for the patch in the subject to be included in stable kernels. Without it if one wants to see only the blocked stats this becomes impossible since the information dumped by sched_debug is so much that it overflows the kmsg buffer and information about blocked stats is overwritten. This is especially a problem in distro kernels which are based on 4.4 and have enabled CONFIG_SCHED_DEBUG - e.g. ubuntu.

I'm fine with including fb90a6e93c0684 in -stable, assuming you tested it and such.

Ingo

#2 lore raw
In reply to Nikolay Borisov
Quoted 8 lines · Nikolay Borisov

Hello,

I'd like to ask for the patch in the subject to be included in stable kernels. Without it if one wants to see only the blocked stats this becomes impossible since the information dumped by sched_debug is so much that it overflows the kmsg buffer and information about blocked stats is overwritten. This is especially a problem in distro kernels which are based on 4.4 and have enabled CONFIG_SCHED_DEBUG - e.g. ubuntu.

Who cares about the kmsg buffer? Also, just make it bigger or disable SCHED_DEBUG, as the name implies it _is_ a debug feature after all.

#3 lore raw
Quoted 10 lines · Peter Zijlstra
Quoted 8 lines · Nikolay Borisov

Hello,

I'd like to ask for the patch in the subject to be included in stable kernels. Without it if one wants to see only the blocked stats this becomes impossible since the information dumped by sched_debug is so much that it overflows the kmsg buffer and information about blocked stats is overwritten. This is especially a problem in distro kernels which are based on 4.4 and have enabled CONFIG_SCHED_DEBUG - e.g. ubuntu.

Quoted 2 lines

Who cares about the kmsg buffer? Also, just make it bigger or disable SCHED_DEBUG, as the name implies it _is_ a debug feature after all.

but what if you want to use your distro's kernel and deal with custom recompiles. The kernel ought to come with sensible defaults.

Quoted 1 line
maintainer
#4 lore raw
Quoted 11 lines · Nikolay Borisov
Quoted 10 lines · Peter Zijlstra
Quoted 8 lines · Nikolay Borisov

Hello,

I'd like to ask for the patch in the subject to be included in stable kernels. Without it if one wants to see only the blocked stats this becomes impossible since the information dumped by sched_debug is so much that it overflows the kmsg buffer and information about blocked stats is overwritten. This is especially a problem in distro kernels which are based on 4.4 and have enabled CONFIG_SCHED_DEBUG - e.g. ubuntu.

Quoted 5 lines
Quoted 2 lines

Who cares about the kmsg buffer? Also, just make it bigger or disable SCHED_DEBUG, as the name implies it _is_ a debug feature after all.

but what if you want to use your distro's kernel and deal with custom recompiles.

That doesn't make sense, if your distro wants this information, it gets to pick what it wants.

Quoted 1 line

The kernel ought to come with sensible defaults.

You can turn it off if you have problems with it, I don't see this meeting the stable kernel rules.

thanks,

greg k-h