Merge branch 'net-kmem-cache-create'
authorDavid S. Miller <davem@davemloft.net>
Wed, 21 Feb 2024 11:28:58 +0000 (11:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Feb 2024 11:28:58 +0000 (11:28 +0000)
commit5d8956a1d9c00e612a9a0694c90b7faf4a3fed1f
tree71d27f016414b120ab816606a33b382c9253ab6f
parenta381690dd84283d7a4f849649d692bdf3b8f424d
parent072f88ca5ca4ef8655721341195028844165b2f1
Merge branch 'net-kmem-cache-create'

Kunwu Chan says:

====================
net: Use KMEM_CACHE instead of kmem_cache_create

As Jiri Pirko suggests,
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.

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.
---
Changes in v2:
- Delete a patch as Eric said in https://lore.kernel.org/all/CANn89iLkWvum6wSqSya_K+1eqnFvp=L2WLW=kAYrZTF8Ei4b7g@mail.gmail.com/
- No code changes,only add Reviewed-by tag
====================

Signed-off-by: David S. Miller <davem@davemloft.net>