Skip to content

Commit 1259560

Browse files
committed
SUNRPC: Remove svc_rqst :: rq_vec
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>
1 parent b406c6b commit 1259560

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • include/linux/sunrpc

include/linux/sunrpc/svc.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ struct svc_rqst {
212212
struct page * *rq_page_end; /* one past the last page */
213213

214214
struct folio_batch rq_fbatch;
215-
struct kvec rq_vec[RPCSVC_MAXPAGES]; /* generally useful.. */
216215
struct bio_vec *rq_bvec;
217216

218217
__be32 rq_xid; /* transmission id */

0 commit comments

Comments
 (0)