From: Markus Elfring <Markus.Elfring@web.de>
To: Yan Zhen <yanzhen@vivo.com>,
linux-mm@kvack.org, opensource.kernel@vivo.com,
Andrew Morton <akpm@linux-foundation.org>,
Christoph Lameter <cl@linux.com>,
David Rientjes <rientjes@google.com>,
Joonsoo Kim <iamjoonsoo.kim@lge.com>,
Pekka Enberg <penberg@kernel.org>,
Vlastimil Babka <vbabka@suse.cz>
Cc: LKML <linux-kernel@vger.kernel.org>,
Hyeonggon Yoo <42.hyeyoo@gmail.com>,
Roman Gushchin <roman.gushchin@linux.dev>
Subject: Re: [PATCH] mm: slab: use kmem_cache_free() to free
Date: Tue, 27 Aug 2024 17:54:33 +0200 [thread overview]
Message-ID: <384bc620-b7fd-4594-bf24-b1b7b26a59df@web.de> (raw)
In-Reply-To: <20240822022704.1195439-1-yanzhen@vivo.com>
> The kmem_cache_alloc() is typically used to free memory allocated through
> the kernel memory cache (slab allocator).
I find this wording confusing.
> Using kmem_cache_free() for deallocation may be more reasonable.
Will “imperative mood” become more desirable here?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.11-rc5#n94
Regards,
Markus
prev parent reply other threads:[~2024-08-27 15:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-22 2:27 [PATCH v1] mm:slab:use " Yan Zhen
2024-08-22 16:59 ` Christoph Lameter (Ampere)
2024-08-27 14:49 ` Vlastimil Babka
2024-08-27 14:57 ` Vlastimil Babka
2024-08-27 15:54 ` Markus Elfring [this message]
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=384bc620-b7fd-4594-bf24-b1b7b26a59df@web.de \
--to=markus.elfring@web.de \
--cc=42.hyeyoo@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=cl@linux.com \
--cc=iamjoonsoo.kim@lge.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=opensource.kernel@vivo.com \
--cc=penberg@kernel.org \
--cc=rientjes@google.com \
--cc=roman.gushchin@linux.dev \
--cc=vbabka@suse.cz \
--cc=yanzhen@vivo.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®