From: Jeff Layton Date: Fri, 20 Jun 2025 12:16:05 +0000 (-0400) Subject: sunrpc: rearrange struct svc_rqst for fewer cachelines X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2bac9a4c5f452d42a78ce07596ef88f75978b536;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Chuck Lever --- diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index 48666b83fe681..40cbe81360ed4 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 */