diff options
author | 2024-01-30 16:14:11 +0800 | |
---|---|---|
committer | 2024-02-09 06:48:04 +0100 | |
commit | 1476de6d2b578673e20fb4cf654ff61cf2782873 (patch) | |
tree | 8f33ad8763c32b9940493fc5eab342f1a9615fc4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfrm6_tunnel: Use KMEM_CACHE instead of kmem_cache_create (diff) | |
download | wireguard-linux-1476de6d2b578673e20fb4cf654ff61cf2782873.tar.xz wireguard-linux-1476de6d2b578673e20fb4cf654ff61cf2782873.zip |
xfrm: Simplify the allocation of slab caches in xfrm_policy_init
commit 0a31bd5f2bbb ("KMEM_CACHE(): simplify slab cache creation")
introduces a new macro.
Use the new KMEM_CACHE() macro instead of direct kmem_cache_create
to simplify the creation of SLAB caches.
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions