lkml.org 
[lkml]   [2024]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] mm: fix the comment error of memcontrol.h
From

在 2024/4/17 20:24, Michal Hocko 写道:
> On Wed 17-04-24 20:16:45, lipeifeng@oppo.com wrote:
>> From: Peifeng Li <lipeifeng@oppo.com>
>>
>> Signed-off-by: Peifeng Li <lipeifeng@oppo.com>
>> ---
>> 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
Allright, thank for your response.

\
 
 \ /
  Last update: 2024-05-27 16:44    [W:0.042 / U:1.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site