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 9CB4EC43464 for ; Mon, 21 Sep 2020 12:20:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5C5C120EDD for ; Mon, 21 Sep 2020 12:20:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600690847; bh=gn3TYdipVDD7SlLA4JIH88mwXBCP9ybxcwlrkqm68MA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=iMxNUfRRULdyt7v25bC3sUrjKcTMpAZ6Y+FvlkasDgcq47LaimpVW0bteblJRZGTW m6kLZdyJnWaHzR8d0Oaw1UPgTR+2DafQhJ2jrkJP0xWdrV14Drx2Amvtlqj08i1bLp RL9kXH08pHO1PGiGsqjLWfvMgXMjm0trYTfObC2o= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727216AbgIUMUq (ORCPT ); Mon, 21 Sep 2020 08:20:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:36564 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727194AbgIUMUm (ORCPT ); Mon, 21 Sep 2020 08:20:42 -0400 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: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.