2019-09-20 06:11:00

by Uwe Kleine-König

[permalink] [raw]
Subject: [PATCH] trivial: lib/Kconfig: typo modertion -> moderation

Fixes: 4f75da3666c0 ("linux/dim: Move implementation to .c files")
Signed-off-by: Uwe Kleine-König <[email protected]>
---
lib/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Kconfig b/lib/Kconfig
index 4e6b1c3e4c98..cc04124ed8f7 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -559,7 +559,7 @@ config DIMLIB
default y
help
Dynamic Interrupt Moderation library.
- Implements an algorithm for dynamically change CQ modertion values
+ Implements an algorithm for dynamically change CQ moderation values
according to run time performance.

#
--
2.23.0


2019-09-20 06:47:04

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] trivial: lib/Kconfig: typo modertion -> moderation

On 9/19/19 2:03 PM, Uwe Kleine-König wrote:
> Fixes: 4f75da3666c0 ("linux/dim: Move implementation to .c files")
> Signed-off-by: Uwe Kleine-König <[email protected]>
> ---
> lib/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/Kconfig b/lib/Kconfig
> index 4e6b1c3e4c98..cc04124ed8f7 100644
> --- a/lib/Kconfig
> +++ b/lib/Kconfig
> @@ -559,7 +559,7 @@ config DIMLIB
> default y
> help
> Dynamic Interrupt Moderation library.
> - Implements an algorithm for dynamically change CQ modertion values
> + Implements an algorithm for dynamically change CQ moderation values

to dynamically change
or
for dynamically changing

> according to run time performance.
>
> #
>


--
~Randy

2019-09-20 06:47:30

by Uwe Kleine-König

[permalink] [raw]
Subject: dimlib: should it really be enabled by default? [Was: [PATCH] trivial: lib/Kconfig: typo modertion -> moderation]

On 9/19/19 11:03 PM, Uwe Kleine-König wrote:
> Fixes: 4f75da3666c0 ("linux/dim: Move implementation to .c files")
> Signed-off-by: Uwe Kleine-König <[email protected]>
> ---
> lib/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/Kconfig b/lib/Kconfig
> index 4e6b1c3e4c98..cc04124ed8f7 100644
> --- a/lib/Kconfig
> +++ b/lib/Kconfig
> @@ -559,7 +559,7 @@ config DIMLIB
> default y

BTW, I wonder about this "default y". I see there are some drivers that
select DIMLIB, so I wonder if I benefit from it at all if I don't use
such a driver?!

Best regards
Uwe
> help
> Dynamic Interrupt Moderation library.
> - Implements an algorithm for dynamically change CQ modertion values
> + Implements an algorithm for dynamically change CQ moderation values
> according to run time performance.
>
> #
>



Attachments:
signature.asc (499.00 B)
OpenPGP digital signature

2019-09-20 17:44:42

by Tal Gilboa

[permalink] [raw]
Subject: Re: dimlib: should it really be enabled by default? [Was: [PATCH] trivial: lib/Kconfig: typo modertion -> moderation]

On 9/20/2019 12:07 AM, Uwe Kleine-König wrote:
> On 9/19/19 11:03 PM, Uwe Kleine-König wrote:
>> Fixes: 4f75da3666c0 ("linux/dim: Move implementation to .c files")
>> Signed-off-by: Uwe Kleine-König <[email protected]>
>> ---
>> lib/Kconfig | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/lib/Kconfig b/lib/Kconfig
>> index 4e6b1c3e4c98..cc04124ed8f7 100644
>> --- a/lib/Kconfig
>> +++ b/lib/Kconfig
>> @@ -559,7 +559,7 @@ config DIMLIB
>> default y
>
> BTW, I wonder about this "default y". I see there are some drivers that
> select DIMLIB, so I wonder if I benefit from it at all if I don't use
> such a driver?!

Thanks for bringing this up. The only benefit from DIM comes from a
driver that use it. I don't mind the default would be changed but from
what I see not all drivers that use DIM have the select DIMLIB line in
their Kconfig files, so such a change should make sure no functionality
is broken.

>
> Best regards
> Uwe