diff options
| author | Chuck Lever <[email protected]> | 2025-04-28 19:36:54 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2025-05-15 20:16:23 +0000 |
| commit | 59cf7346542babdaae99e72365174eab4fa276ac (patch) | |
| tree | e3ed4f9849f558a9f51788226665894a5575aa0c /tools/testing/selftests/drivers/net/lib/py/env.py | |
| parent | sunrpc: Replace the rq_pages array with dynamically-allocated memory (diff) | |
| download | kernel-59cf7346542babdaae99e72365174eab4fa276ac.tar.gz kernel-59cf7346542babdaae99e72365174eab4fa276ac.zip | |
sunrpc: Replace the rq_bvec 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_bvec[] array in struct svc_rqst
with a chunk of dynamically-allocated memory.
The rq_bvec[] array contains enough bio_vecs to handle each page in
a maximum size RPC message.
On a system with 8-byte pointers and 4KB pages, pahole reports that
the rq_bvec[] array is 4144 bytes. This patch replaces that array
with a single 8-byte pointer field.
Reviewed-by: Jeff Layton <[email protected]>
Reviewed-by: NeilBrown <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/lib/py/env.py')
0 files changed, 0 insertions, 0 deletions
