[v2] power: fix a typo in the PM QoS guide
Checks
Commit Message
The typo in the guide is hard to understand. Necessary to fix it.
Fixes: dd6fd75bf662 ("power: introduce PM QoS API on CPU wide")
Signed-off-by: Huisong Li <lihuisong@huawei.com>
---
doc/guides/prog_guide/power_man.rst | 2 +-
lib/power/rte_power_qos.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Comments
12/11/2024 09:35, Huisong Li:
> The typo in the guide is hard to understand. Necessary to fix it.
>
> Fixes: dd6fd75bf662 ("power: introduce PM QoS API on CPU wide")
>
> Signed-off-by: Huisong Li <lihuisong@huawei.com>
> ---
> --- a/doc/guides/prog_guide/power_man.rst
> +++ b/doc/guides/prog_guide/power_man.rst
> -Some services are latency sensitive and very except the low resume time,
> +Some services are latency sensitive and request a low resume time,
> like interrupt packet receiving mode.
[...]
> --- a/lib/power/rte_power_qos.h
> +++ b/lib/power/rte_power_qos.h
> * The deeper the idle state, the lower the power consumption, but the
> - * longer the resume time. Some service are delay sensitive and very except the
> + * longer the resume time. Some service are delay sensitive and request a
> * low resume time, like interrupt packet receiving mode.
Why not the same as above? "Some services are latency sensitive"
在 2024/11/12 20:55, Thomas Monjalon 写道:
> 12/11/2024 09:35, Huisong Li:
>> The typo in the guide is hard to understand. Necessary to fix it.
>>
>> Fixes: dd6fd75bf662 ("power: introduce PM QoS API on CPU wide")
>>
>> Signed-off-by: Huisong Li <lihuisong@huawei.com>
>> ---
>> --- a/doc/guides/prog_guide/power_man.rst
>> +++ b/doc/guides/prog_guide/power_man.rst
>> -Some services are latency sensitive and very except the low resume time,
>> +Some services are latency sensitive and request a low resume time,
>> like interrupt packet receiving mode.
> [...]
>> --- a/lib/power/rte_power_qos.h
>> +++ b/lib/power/rte_power_qos.h
>> * The deeper the idle state, the lower the power consumption, but the
>> - * longer the resume time. Some service are delay sensitive and very except the
>> + * longer the resume time. Some service are delay sensitive and request a
>> * low resume time, like interrupt packet receiving mode.
> Why not the same as above? "Some services are latency sensitive"
will fix it in next version.
>
>
>
>
> .
@@ -118,7 +118,7 @@ based on this CPU resume latency in their idle task.
The deeper the idle state, the lower the power consumption,
but the longer the resume time.
-Some services are latency sensitive and very except the low resume time,
+Some services are latency sensitive and request a low resume time,
like interrupt packet receiving mode.
Applications can set and get the CPU resume latency with
@@ -24,7 +24,7 @@ extern "C" {
* https://www.kernel.org/doc/html/latest/admin-guide/abi-testing.html?highlight=pm_qos_resume_latency_us#abi-sys-devices-power-pm-qos-resume-latency-us
*
* The deeper the idle state, the lower the power consumption, but the
- * longer the resume time. Some service are delay sensitive and very except the
+ * longer the resume time. Some service are delay sensitive and request a
* low resume time, like interrupt packet receiving mode.
*
* In these case, per-CPU PM QoS API can be used to control this CPU's idle