projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b406c6b
)
SUNRPC: Remove svc_rqst :: rq_vec
author
Chuck Lever
<chuck.lever@oracle.com>
Wed, 7 May 2025 00:15:08 +0000
(20:15 -0400)
committer
Chuck Lever
<chuck.lever@oracle.com>
Thu, 15 May 2025 20:16:25 +0000
(16:16 -0400)
Clean up: This array is no longer used.
On a system with 8-byte pointers and 4KB pages, pahole reports that
the rq_vec[] array accounts for 4144 bytes.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/svc.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/sunrpc/svc.h
b/include/linux/sunrpc/svc.h
index 510ee192797718e2724ece9b81f7c5feafc8b8d4..6540af4b9bdbc6e9540e9cf24654b22c793f2a48 100644
(file)
--- a/
include/linux/sunrpc/svc.h
+++ b/
include/linux/sunrpc/svc.h
@@
-212,7
+212,6
@@
struct svc_rqst {
struct page * *rq_page_end; /* one past the last page */
struct folio_batch rq_fbatch;
- struct kvec rq_vec[RPCSVC_MAXPAGES]; /* generally useful.. */
struct bio_vec *rq_bvec;
__be32 rq_xid; /* transmission id */