diff options
author | 2025-04-28 15:36:52 -0400 | |
---|---|---|
committer | 2025-05-15 16:16:22 -0400 | |
commit | ed603bcf4feac05df937bf78bc7feb75f988a971 (patch) | |
tree | 4231e67cf297057ea681891f0f9bf9b7804cc635 /tools/perf/scripts/python | |
parent | sunrpc: Remove backchannel check in svc_init_buffer() (diff) | |
download | wireguard-linux-ed603bcf4feac05df937bf78bc7feb75f988a971.tar.xz wireguard-linux-ed603bcf4feac05df937bf78bc7feb75f988a971.zip |
sunrpc: Replace the rq_pages array with dynamically-allocated memory
As a step towards making NFSD's maximum rsize and wsize variable at
run-time, replace the fixed-size rq_vec[] array in struct svc_rqst
with a chunk of dynamically-allocated memory.
On a system with 8-byte pointers and 4KB pages, pahole reports that
the rq_pages[] array is 2080 bytes. This patch replaces that with
a single 8-byte pointer field.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions