diff options
author | Jeff Layton <jlayton@kernel.org> | 2025-06-20 08:16:05 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2025-07-14 12:46:49 -0400 |
commit | 2bac9a4c5f452d42a78ce07596ef88f75978b536 (patch) | |
tree | 917dbccb6fcb5858c8052591bb1d40a4e24d66bd | |
parent | 0f2b8ee6303da559bb73aed92d62d5928dac7b83 (diff) |
sunrpc: rearrange struct svc_rqst for fewer cachelines
This shrinks the struct by 4 bytes, but also takes it from 19 to 18
cachelines on x86_64.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
-rw-r--r-- | include/linux/sunrpc/svc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index 48666b83fe68..40cbe81360ed 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h @@ -245,10 +245,10 @@ struct svc_rqst { * initialisation success. */ - unsigned long bc_to_initval; - unsigned int bc_to_retries; - void ** rq_lease_breaker; /* The v4 client breaking a lease */ + unsigned long bc_to_initval; + unsigned int bc_to_retries; unsigned int rq_status_counter; /* RPC processing counter */ + void **rq_lease_breaker; /* The v4 client breaking a lease */ }; /* bits for rq_flags */ |