From: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
To: Kunwu Chan <chentao@kylinos.cn>
Cc: davem@davemloft.net, dsahern@kernel.org, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, jiri@resnulli.us,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next 0/6] Use KMEM_CACHE instead of kmem_cache_create
Date: Mon, 5 Feb 2024 08:37:48 +0100 [thread overview]
Message-ID: <ZcCQTPUoeqUeiQsN@mev-dev> (raw)
In-Reply-To: <20240205072013.427639-1-chentao@kylinos.cn>
On Mon, Feb 05, 2024 at 03:20:07PM +0800, Kunwu Chan wrote:
> As Jiri Pirko suggests,
You can add a suggested-by tag.
> I'm using a patchset to cleanup the same issues in the 'net' module.
> Use the new KMEM_CACHE() macro instead of direct kmem_cache_create
> to simplify the creation of SLAB caches.
>
What about rest of the kmem_cache_create in net folder? (ex. fib_trie)
> Some cache names are changed to be the same as struct names.
> This change is recorded in the changelog for easy reference.
> It's harmless cause it's used in /proc/slabinfo to identify this cache.
>
> Kunwu Chan (6):
> net: kcm: Simplify the allocation of slab caches
> ip6mr: Simplify the allocation of slab caches in ip6_mr_init
> ipmr: Simplify the allocation of slab caches
> ipv4: Simplify the allocation of slab caches in ip_rt_init
> tcp: Simplify the allocation of slab caches
> ipv6: Simplify the allocation of slab caches
>
> net/ipv4/ipmr.c | 5 +----
> net/ipv4/route.c | 5 ++---
> net/ipv4/tcp.c | 14 ++++----------
> net/ipv6/ip6_fib.c | 6 ++----
> net/ipv6/ip6mr.c | 5 +----
> net/kcm/kcmsock.c | 8 ++------
> 6 files changed, 12 insertions(+), 31 deletions(-)
>
> --
> 2.39.2
Changes looks fines, thanks
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
for whole series.
Thanks,
Michal
prev parent reply other threads:[~2024-02-05 7:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-05 7:20 [PATCH net-next 0/6] Use KMEM_CACHE instead of kmem_cache_create Kunwu Chan
2024-02-05 7:20 ` [PATCH net-next 1/6] net: kcm: Simplify the allocation of slab caches Kunwu Chan
2024-02-05 7:20 ` [PATCH net-next 2/6] ip6mr: Simplify the allocation of slab caches in ip6_mr_init Kunwu Chan
2024-02-05 7:20 ` [PATCH net-next 3/6] ipmr: Simplify the allocation of slab caches Kunwu Chan
2024-02-05 7:20 ` [PATCH net-next 4/6] ipv4: Simplify the allocation of slab caches in ip_rt_init Kunwu Chan
2024-02-05 7:20 ` [PATCH net-next 5/6] tcp: Simplify the allocation of slab caches Kunwu Chan
2024-02-05 12:29 ` Eric Dumazet
2024-02-19 9:09 ` Kunwu Chan
2024-02-05 7:20 ` [PATCH net-next 6/6] ipv6: " Kunwu Chan
2024-02-05 7:37 ` Michal Swiatkowski [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=ZcCQTPUoeqUeiQsN@mev-dev \
--to=michal.swiatkowski@linux.intel.com \
--cc=chentao@kylinos.cn \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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