diff options
author | 2024-06-18 09:45:17 +0800 | |
---|---|---|
committer | 2024-07-03 19:30:15 -0700 | |
commit | 9b94b5a2f9a95d693cfa8db6e34dcb3f1cd91204 (patch) | |
tree | 87bcf062e669fb0a316dba6c022ff28f9f6d2643 /kernel | |
parent | mm: ksm: drop KSM_KMEM_CACHE() (diff) | |
download | linux-rng-9b94b5a2f9a95d693cfa8db6e34dcb3f1cd91204.tar.xz linux-rng-9b94b5a2f9a95d693cfa8db6e34dcb3f1cd91204.zip |
khugepaged: simplify the allocation of slab caches
Use the new KMEM_CACHE() macro instead of direct kmem_cache_create
to simplify the creation of SLAB caches.
Link: https://lkml.kernel.org/r/20240618014517.25954-1-lihongfu@kylinos.cn
Signed-off-by: Hongfu Li <lihongfu@kylinos.cn>
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions