diff options
author | Kunwu Chan <chentao@kylinos.cn> | 2024-02-01 11:37:52 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-03-01 17:12:24 +0300 |
commit | 649e58d59322690f3d5f829d6c689e16a974b979 (patch) | |
tree | a9a69163573eec4f56cd7cf1926ebd54335a1fd2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 192d80cdcb4cd6691e15b0e0fc9bc94d3203e30d (diff) | |
download | linux-649e58d59322690f3d5f829d6c689e16a974b979.tar.xz |
nfsd: Simplify the allocation of slab caches in nfsd4_init_slabs
Use the new KMEM_CACHE() macro instead of direct kmem_cache_create
to simplify the creation of SLAB caches.
Make the code cleaner and more readable.
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions