6/6
slub_kunit: Add a test for the kmalloc_partition boot parameter
在 slub_kunit 中验证 kmalloc_partition:默认分区索引指向独立 kmalloc cache,kmalloc_partition=0 时别名到普通 cache;无 CONFIG_KMALLOC_PARTITION_CACHES 跳过,并导出 kmalloc_partition_enabled 供测试读取。
在 slub_kunit 中验证 kmalloc_partition:默认分区索引指向独立 kmalloc cache,kmalloc_partition=0 时别名到普通 cache;无 CONFIG_KMALLOC_PARTITION_CACHES 跳过,并导出 kmalloc_partition_enabled 供测试读取。