diff mbox series

mm: Typo fix in the file util.c

Message ID 20210317033439.3429411-1-unixbhaskar@gmail.com (mailing list archive)
State New, archived
Headers show
Series mm: Typo fix in the file util.c | expand

Commit Message

Bhaskar Chowdhury March 17, 2021, 3:34 a.m. UTC
s/condtion/condition/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 mm/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.30.2

Comments

Randy Dunlap March 17, 2021, 5:15 a.m. UTC | #1
On 3/16/21 8:34 PM, Bhaskar Chowdhury wrote:
> 
> 
> s/condtion/condition/
> 
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

> ---
>  mm/util.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mm/util.c b/mm/util.c
> index 54870226cea6..f85da35b50eb 100644
> --- a/mm/util.c
> +++ b/mm/util.c
> @@ -775,7 +775,7 @@ int overcommit_policy_handler(struct ctl_table *table, int write, void *buffer,
>  	 * The deviation of sync_overcommit_as could be big with loose policy
>  	 * like OVERCOMMIT_ALWAYS/OVERCOMMIT_GUESS. When changing policy to
>  	 * strict OVERCOMMIT_NEVER, we need to reduce the deviation to comply
> -	 * with the strict "NEVER", and to avoid possible race condtion (even
> +	 * with the strict "NEVER", and to avoid possible race condition (even
>  	 * though user usually won't too frequently do the switching to policy
>  	 * OVERCOMMIT_NEVER), the switch is done in the following order:
>  	 *	1. changing the batch
> --
Matthew Wilcox March 17, 2021, 11:48 a.m. UTC | #2
On Wed, Mar 17, 2021 at 09:04:39AM +0530, Bhaskar Chowdhury wrote:
> 
> 
> s/condtion/condition/

The usual subject line for this would be:

mm/util: Fix typo

> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
> ---
>  mm/util.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mm/util.c b/mm/util.c
> index 54870226cea6..f85da35b50eb 100644
> --- a/mm/util.c
> +++ b/mm/util.c
> @@ -775,7 +775,7 @@ int overcommit_policy_handler(struct ctl_table *table, int write, void *buffer,
>  	 * The deviation of sync_overcommit_as could be big with loose policy
>  	 * like OVERCOMMIT_ALWAYS/OVERCOMMIT_GUESS. When changing policy to
>  	 * strict OVERCOMMIT_NEVER, we need to reduce the deviation to comply
> -	 * with the strict "NEVER", and to avoid possible race condtion (even
> +	 * with the strict "NEVER", and to avoid possible race condition (even
>  	 * though user usually won't too frequently do the switching to policy
>  	 * OVERCOMMIT_NEVER), the switch is done in the following order:
>  	 *	1. changing the batch
> --
> 2.30.2
> 
>
Bhaskar Chowdhury March 17, 2021, 10:45 p.m. UTC | #3
On 11:48 Wed 17 Mar 2021, Matthew Wilcox wrote:
>On Wed, Mar 17, 2021 at 09:04:39AM +0530, Bhaskar Chowdhury wrote:
>>
>>
>> s/condtion/condition/
>
>The usual subject line for this would be:
>
>mm/util: Fix typo
>
I am keeping this in mind. Thanks for the heads up!

>> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
>> ---
>>  mm/util.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/mm/util.c b/mm/util.c
>> index 54870226cea6..f85da35b50eb 100644
>> --- a/mm/util.c
>> +++ b/mm/util.c
>> @@ -775,7 +775,7 @@ int overcommit_policy_handler(struct ctl_table *table, int write, void *buffer,
>>  	 * The deviation of sync_overcommit_as could be big with loose policy
>>  	 * like OVERCOMMIT_ALWAYS/OVERCOMMIT_GUESS. When changing policy to
>>  	 * strict OVERCOMMIT_NEVER, we need to reduce the deviation to comply
>> -	 * with the strict "NEVER", and to avoid possible race condtion (even
>> +	 * with the strict "NEVER", and to avoid possible race condition (even
>>  	 * though user usually won't too frequently do the switching to policy
>>  	 * OVERCOMMIT_NEVER), the switch is done in the following order:
>>  	 *	1. changing the batch
>> --
>> 2.30.2
>>
>>
diff mbox series

Patch

diff --git a/mm/util.c b/mm/util.c
index 54870226cea6..f85da35b50eb 100644
--- a/mm/util.c
+++ b/mm/util.c
@@ -775,7 +775,7 @@  int overcommit_policy_handler(struct ctl_table *table, int write, void *buffer,
 	 * The deviation of sync_overcommit_as could be big with loose policy
 	 * like OVERCOMMIT_ALWAYS/OVERCOMMIT_GUESS. When changing policy to
 	 * strict OVERCOMMIT_NEVER, we need to reduce the deviation to comply
-	 * with the strict "NEVER", and to avoid possible race condtion (even
+	 * with the strict "NEVER", and to avoid possible race condition (even
 	 * though user usually won't too frequently do the switching to policy
 	 * OVERCOMMIT_NEVER), the switch is done in the following order:
 	 *	1. changing the batch