Re: [PATCH] mm: fix the comment error of memcontrol.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed 17-04-24 20:16:45, lipeifeng@xxxxxxxx wrote:
> From: Peifeng Li <lipeifeng@xxxxxxxx>
> 
> Signed-off-by: Peifeng Li <lipeifeng@xxxxxxxx>
> ---
>  include/linux/memcontrol.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
> index 394fd0a887ae..07d08be706bf 100644
> --- a/include/linux/memcontrol.h
> +++ b/include/linux/memcontrol.h
> @@ -1679,7 +1679,7 @@ static inline bool folio_matches_lruvec(struct folio *folio,
>  	       lruvec_memcg(lruvec) == folio_memcg(folio);
>  }
>  
> -/* Don't lock again iff page's lruvec locked */
> +/* Don't lock again if page's lruvec locked */

Not a typo. iff stands for if and only if

-- 
Michal Hocko
SUSE Labs




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux