From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6235EC43463 for ; Mon, 21 Sep 2020 12:20:45 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D919220EDD for ; Mon, 21 Sep 2020 12:20:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="x2yEdKU9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D919220EDD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 2C319900056; Mon, 21 Sep 2020 08:20:44 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2A219900055; Mon, 21 Sep 2020 08:20:44 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1878B900056; Mon, 21 Sep 2020 08:20:44 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0108.hostedemail.com [216.40.44.108]) by kanga.kvack.org (Postfix) with ESMTP id 02F09900055 for ; Mon, 21 Sep 2020 08:20:43 -0400 (EDT) Received: from smtpin16.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id B606A3629 for ; Mon, 21 Sep 2020 12:20:43 +0000 (UTC) X-FDA: 77286977166.16.trip79_3e0662827145 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin16.hostedemail.com (Postfix) with ESMTP id 8EA38100E6938 for ; Mon, 21 Sep 2020 12:20:43 +0000 (UTC) X-HE-Tag: trip79_3e0662827145 X-Filterd-Recvd-Size: 3195 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf13.hostedemail.com (Postfix) with ESMTP for ; Mon, 21 Sep 2020 12:20:43 +0000 (UTC) Received: from kernel.org (unknown [87.71.73.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DA469206A4; Mon, 21 Sep 2020 12:20:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600690842; bh=gn3TYdipVDD7SlLA4JIH88mwXBCP9ybxcwlrkqm68MA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=x2yEdKU9BodbzAM21qxoqWhbtHHfwvCaVuicwUMZiQMHJooq5FRKIYaxVDLp1ITmd pSvdR2lNE0eU+sBPWzUUGI+JRDmQ23wKaGMM3owRm00WfiVPw30OYJqw4nrqJ+y3O4 FFG7xjrhhNARjVLRjqoVEspwz7RaTzy2/ZXdv+uQ= Date: Mon, 21 Sep 2020 15:20:33 +0300 From: Mike Rapoport To: Chen Tao Cc: cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm: fix some comments formatting Message-ID: <20200921122033.GS2142832@kernel.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Sep 15, 2020 at 09:39:56AM -0700, Chen Tao wrote: > Correct one function name "get_partials" with "get_partial". > Update the old struct name of list3 with kmem_cache_node. > > Signed-off-by: Chen Tao Reviewed-by: Mike Rapoport > --- > mm/slab.c | 2 +- > mm/slub.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/mm/slab.c b/mm/slab.c > index 3160dff6fd76..0a13cce5d016 100644 > --- a/mm/slab.c > +++ b/mm/slab.c > @@ -1062,7 +1062,7 @@ int slab_prepare_cpu(unsigned int cpu) > * Even if all the cpus of a node are down, we don't free the > * kmem_cache_node of any cache. This to avoid a race between cpu_down, and > * a kmalloc allocation from another cpu for memory from the node of > - * the cpu going down. The list3 structure is usually allocated from > + * the cpu going down. The kmem_cache_node structure is usually allocated from > * kmem_cache_create() and gets destroyed at kmem_cache_destroy(). > */ > int slab_dead_cpu(unsigned int cpu) > diff --git a/mm/slub.c b/mm/slub.c > index d4177aecedf6..1faa9ada3f51 100644 > --- a/mm/slub.c > +++ b/mm/slub.c > @@ -1960,7 +1960,7 @@ static void *get_partial_node(struct kmem_cache *s, struct kmem_cache_node *n, > /* > * Racy check. If we mistakenly see no partial slabs then we > * just allocate an empty slab. If we mistakenly try to get a > - * partial slab and there is none available then get_partials() > + * partial slab and there is none available then get_partial() > * will return NULL. > */ > if (!n || !n->nr_partial) > -- > 2.17.1 > > -- Sincerely yours, Mike.