[Devel] [PATCH VZ9 2/3] fs: fuse: pcs: do not use slab ACCOUNT flags for fast allocations
Alexey Kuznetsov
kuznet at virtuozzo.com
Tue Oct 1 21:40:39 MSK 2024
They are _very_ expensive, no jokes, eating significant part of krpc
advantage. They may be used only for object which are allocated once
and have long life time.
Signed-off-by: Alexey Kuznetsov <kuznet at virtuozzo.com>
---
fs/fuse/kio/pcs/pcs_krpc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/fuse/kio/pcs/pcs_krpc.c b/fs/fuse/kio/pcs/pcs_krpc.c
index 6ab6145..78150a5 100644
--- a/fs/fuse/kio/pcs/pcs_krpc.c
+++ b/fs/fuse/kio/pcs/pcs_krpc.c
@@ -959,7 +959,7 @@ int __init pcs_krpc_init(void)
{
krpc_req_cachep = kmem_cache_create("pcs_krpc_req",
sizeof(struct krpc_req), 0,
- SLAB_RECLAIM_ACCOUNT|SLAB_ACCOUNT, NULL);
+ 0, NULL);
if (!krpc_req_cachep)
return -ENOMEM;
--
1.8.3.1
More information about the Devel
mailing list