RE: [PATCH 1/2] x86, mce, therm_throt: Optimize logging of thermal throttle messages

From: Luck, Tony
Date: Thu Oct 17 2019 - 17:31:34 EST


>> That all sounds like the printk should be downgraded too, it is not a
>> KERN_CRIT warning. It is more a notification that we're getting warm.
>
> Right, and I think we should take Benjamin's patch after all - perhaps
> even tag it for stable if that message is annoying people too much - and
> Srinivas can do the dynamic thing ontop.

That sounds like the right short term action.

Depending on what we end up with from Srinivas ... we may want
to reconsider the severity. The basic premise of Srinivas' patch
is to avoid printing anything for short excursions above temperature
threshold. But the effect of that is that when we find the core/package
staying above temperature for an extended period of time, we are
in a serious situation where some action may be needed. E.g.
move the laptop off the soft surface that is blocking the air vents.

-Tony