[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMZfGtXJkEtH+nVMLtGhfVqySZ+iGc-1yd9OJ3jxK65puFgf_Q@mail.gmail.com>
Date: Fri, 26 Nov 2021 16:57:29 +0800
From: Muchun Song <songmuchun@...edance.com>
To: "Colin King (gmail)" <colin.i.king@...glemail.com>
Cc: Joe Perches <joe@...ches.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Memory Management List <linux-mm@...ck.org>,
kernel-janitors@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH][next] hugetlb: Fix spelling mistake "hierarichal" -> "hierarchical"
On Fri, Nov 26, 2021 at 4:38 PM Colin King (gmail)
<colin.i.king@...glemail.com> wrote:
>
> On 26/11/2021 08:15, Joe Perches wrote:
> > On Thu, 2021-11-25 at 09:06 +0000, Colin Ian King wrote:
> >> There is a spelling mistake in a literal string and a comment. Fix them.
> > []
> >> diff --git a/mm/hugetlb_cgroup.c b/mm/hugetlb_cgroup.c
> > []
> >> @@ -495,11 +495,11 @@ static int hugetlb_cgroup_read_numa_stat(struct seq_file *seq, void *dummy)
> >> * The hierarchical total is pretty much the value recorded by the
> >> * counter, so use that.
> >> */
> >> - seq_printf(seq, "%stotal=%lu", legacy ? "hierarichal_" : "",
> >> + seq_printf(seq, "%stotal=%lu", legacy ? "hierarchical_" : "",
> >> page_counter_read(&h_cg->hugepage[idx]) * PAGE_SIZE);
> >
> > Not sure this should be changed as seq output is nominally ABI.
>
> This just landed in linux-next, so I doubt many folk are using it. Let's
> fix it before it lands mainline.
Totally agree.
>
> >
> >>
> >> /*
> >> - * For each node, transverse the css tree to obtain the hierarichal
> >> + * For each node, transverse the css tree to obtain the hierarchical
> >
> > Fixing the comment typo is good. Thanks.
> >
> >
>
Powered by blists - more mailing lists