All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Hocko <mhocko@suse.com>
To: lipeifeng@oppo.com
Cc: hannes@cmpxchg.org, shakeel.butt@linux.dev,
	muchun.song@linux.dev, cgroups@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm: fix the comment error of memcontrol.h
Date: Wed, 17 Apr 2024 14:24:44 +0200	[thread overview]
Message-ID: <Zh-_jOtSyv6DoETP@tiehlicka> (raw)
In-Reply-To: <20240417121645.25355-1-lipeifeng@oppo.com>

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

-- 
Michal Hocko
SUSE Labs

  reply	other threads:[~2024-04-17 12:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-17 12:16 [PATCH] mm: fix the comment error of memcontrol.h lipeifeng
2024-04-17 12:24 ` Michal Hocko [this message]
2024-04-18  2:12   ` 李培锋

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zh-_jOtSyv6DoETP@tiehlicka \
    --to=mhocko@suse.com \
    --cc=cgroups@vger.kernel.org \
    --cc=hannes@cmpxchg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lipeifeng@oppo.com \
    --cc=muchun.song@linux.dev \
    --cc=shakeel.butt@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.