ANDROID: 16K: Use vma_area slab cache for pad VMA

Allocate padding VMA from the vma slab cache; this make it
easier to debug slab leaks than from kmalloc slabs.

Bug: 427145188
Change-Id: I24c5f5d0eb3b06acf506f18f5eb57cd497b13d6d
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
This commit is contained in:
Kalesh Singh
2025-06-24 14:58:32 -07:00
parent d56a28cb58
commit 36d69f6a49
2 changed files with 6 additions and 3 deletions

View File

@@ -454,7 +454,7 @@ struct kmem_cache *files_cachep;
struct kmem_cache *fs_cachep;
/* SLAB cache for vm_area_struct structures */
static struct kmem_cache *vm_area_cachep;
struct kmem_cache *vm_area_cachep;
/* SLAB cache for mm_struct structures (tsk->mm) */
static struct kmem_cache *mm_cachep;