lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <250e3c60-812f-4b5e-9831-bd8de57bba04@oppo.com>
Date: Thu, 18 Apr 2024 10:12:06 +0800
From: 李培锋 <lipeifeng@...o.com>
To: Michal Hocko <mhocko@...e.com>
Cc: hannes@...xchg.org, shakeel.butt@...ux.dev, muchun.song@...ux.dev,
 cgroups@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: fix the comment error of memcontrol.h


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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ