Re: [PATCH] thermal: gov_power_allocator: Granted power set to max when nobody request power
From: ZhengShaobo
Date: Thu Oct 24 2024 - 04:02:04 EST
On Wed, Oct 23, 2024 at 12:09:44PM +0200, Rafael J. Wysocki wrote:
> On Mon, Oct 21, 2024 at 2:12 PM ZhengShaobo <zhengshaobo1@xxxxxxxxxx> wrote:
> >
> > From: zhengshaobo1 <zhengshaobo1@xxxxxxxxxx>
> >
> > When total_req_power is 0, divvy_up_power() will set granted_power to 0,
> > and cdev will be limited to the lowest performance. If our polling delay
> > is set to 200ms, it means that cdev cannot perform better within 200ms
> > even if cdev has a sudden load. This will affect the performance of cdev
> > and is not as expected.
> >
> > For this reason, if nobody requests power, then set the granted power to
> > the max_power.
> >
> > Signed-off-by: zhengshaobo1 <zhengshaobo1@xxxxxxxxxx>
>
> I would have applied this, but your S-o-b above needs to be fixed.
> Why don't you use your real name there?
>
> If it can be changed to "ZhengShaobo <zhengshaobo1@xxxxxxxxxx>",
> please let me know, and I will fix it for you when applying the patch.
>
Yes, it should be "ZhengShaobo <zhengshaobo1@xxxxxxxxxx>".
I would really appreciate your help in solving this problem.
Thanks,
ZhengShaobo