[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <795c6785-e13e-5322-15b3-60ee2ec24197@infradead.org>
Date: Thu, 25 Aug 2022 19:48:10 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: cgel.zte@...il.com, tj@...nel.org
Cc: lizefan.x@...edance.com, hannes@...xchg.org, corbet@....net,
cgroups@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org,
lufengchang <lu.fengchang@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH linux-next] admin-guide: cgroup: fix a typo in description
Hi,
On 8/25/22 19:05, cgel.zte@...il.com wrote:
> From: lufengchang <lu.fengchang@....com.cn>
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: lufengchang <lu.fengchang@....com.cn>
Are you sure that it's a typo?
https://en.wikipedia.org/wiki/If_and_only_if
"iff" is commonly used (in math/technical literature)
to mean "if and only if".
> ---
> Documentation/admin-guide/cgroup-v1/cgroups.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/admin-guide/cgroup-v1/cgroups.rst b/Documentation/admin-guide/cgroup-v1/cgroups.rst
> index b0688011ed06..fa747466e304 100644
> --- a/Documentation/admin-guide/cgroup-v1/cgroups.rst
> +++ b/Documentation/admin-guide/cgroup-v1/cgroups.rst
> @@ -573,7 +573,7 @@ cgroup_for_each_descendant_pre() for details.
> ``void css_offline(struct cgroup *cgrp);``
> (cgroup_mutex held by caller)
>
> -This is the counterpart of css_online() and called iff css_online()
> +This is the counterpart of css_online() and called if css_online()
> has succeeded on @cgrp. This signifies the beginning of the end of
> @cgrp. @cgrp is being removed and the subsystem should start dropping
> all references it's holding on @cgrp. When all references are dropped,
--
~Randy
Powered by blists - more mailing lists