[Devel] [PATCH RHEL9 COMMIT] fs: fuse: pcs: do not use slab ACCOUNT flags for fast allocations
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Oct 7 20:35:03 MSK 2024
The commit is pushed to "branch-rh9-5.14.0-427.35.1.vz9.76.x-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh9-5.14.0-427.35.1.vz9.76.4
------>
commit 322e97167851f9e72fcf9c76060f0b9639f714f2
Author: Alexey Kuznetsov <kuznet at virtuozzo.com>
Date: Wed Oct 2 02:40:39 2024 +0800
fs: fuse: pcs: do not use slab ACCOUNT flags for fast allocations
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>
Feature: vStorage
---
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 89b190a50805..68a30d7c3e2d 100644
--- a/fs/fuse/kio/pcs/pcs_krpc.c
+++ b/fs/fuse/kio/pcs/pcs_krpc.c
@@ -961,7 +961,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;
More information about the Devel
mailing list