Re: [PATCH v3 0/4] thermal: re-calculate k_po/k_pu when update sustainable power

From: Daniel Thompson
Date: Wed Jan 06 2016 - 06:22:34 EST


On 06/01/16 10:07, Javi Merino wrote:
On Wed, Jan 06, 2016 at 04:53:44PM +0800, Leo Yan wrote:
k_po/k_pu are two proportional term constants and essentially they have
fixed ratio compared with sustainable power. In current implementation,
k_po and k_pu are absolute value after calculation and cannot represent
the ratio relationship with sustainable power; as a result, when change
sustainable power we cannot smoothly change proportional term constant.

In v2 Daniel said that the use case was made up. Can you elaborate on
why we need this?

To be clear, I didn't say Leo's use case was made up. In truth I've never asked Leo what his use case is.

It was simply the use case that I used to illustrate a bug in the v1 implementation which was made up (and which you asked for more details of).



Daniel.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/