Re: [PATCH] mm: Few spelling fixes

From: Randy Dunlap
Date: Thu Mar 18 2021 - 14:21:05 EST


On 3/17/21 11:58 PM, Bhaskar Chowdhury wrote:
>
> Few spelling fixes throughout the file.
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx>
> ---
> include/linux/pgtable.h | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/include/linux/pgtable.h b/include/linux/pgtable.h
> index 5e772392a379..4fcefd553a5c 100644
> --- a/include/linux/pgtable.h
> +++ b/include/linux/pgtable.h
> @@ -852,7 +852,7 @@ static inline void __ptep_modify_prot_commit(struct vm_area_struct *vma,
> * updates, but to prevent any updates it may make from being lost.
> *
> * This does not protect against other software modifications of the
> - * pte; the appropriate pte lock must be held over the transation.
> + * pte; the appropriate pte lock must be held over the transition.

I think that should be transaction.

> *
> * Note that this interface is intended to be batchable, meaning that
> * ptep_modify_prot_commit may not actually update the pte, but merely

Other changes are OK.


--
~Randy