projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4fb7f0
)
mm, vma: use percpu sheaves for vm_area_struct cache
author
Vlastimil Babka
<vbabka@suse.cz>
Wed, 3 Sep 2025 12:59:54 +0000
(14:59 +0200)
committer
Vlastimil Babka
<vbabka@suse.cz>
Mon, 29 Sep 2025 07:22:53 +0000
(09:22 +0200)
Create the vm_area_struct cache with percpu sheaves of size 32 to
improve its performance.
Reviewed-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/vma_init.c
patch
|
blob
|
history
diff --git
a/mm/vma_init.c
b/mm/vma_init.c
index
8e53c79
..
52c6b55
100644
(file)
--- a/
mm/vma_init.c
+++ b/
mm/vma_init.c
@@
-16,6
+16,7
@@
void __init vma_state_init(void)
struct kmem_cache_args args = {
.use_freeptr_offset = true,
.freeptr_offset = offsetof(struct vm_area_struct, vm_freeptr),
+ .sheaf_capacity = 32,
};
vm_area_cachep = kmem_cache_create("vm_area_struct",