diff options
author | Kunwu Chan <chentao@kylinos.cn> | 2024-01-30 11:14:11 +0300 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2024-02-09 08:48:04 +0300 |
commit | 1476de6d2b578673e20fb4cf654ff61cf2782873 (patch) | |
tree | 8f33ad8763c32b9940493fc5eab342f1a9615fc4 /samples/ftrace | |
parent | ab1e1a38de240057ed108075abd1309c02e2a2a4 (diff) | |
download | linux-1476de6d2b578673e20fb4cf654ff61cf2782873.tar.xz |
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 'samples/ftrace')
0 files changed, 0 insertions, 0 deletions