summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2023-04-14 20:18:15 -0400
committerChuck Lever <chuck.lever@oracle.com>2023-04-27 18:49:23 -0400
commit6a0cdf56bfc9a1791ddd6955d60f3678523e599c (patch)
treea5b156e0b6fbe3979be4da99385e23061fed2570 /include
parent647a2a6428f2cd01e53079ac16e17fdeff229e68 (diff)
downloadlwn-6a0cdf56bfc9a1791ddd6955d60f3678523e599c.tar.gz
lwn-6a0cdf56bfc9a1791ddd6955d60f3678523e599c.zip
SUNRPC: Be even lazier about releasing pages
A single RPC transaction that touches only a couple of pages means rq_pvec will not be even close to full in svc_xpt_release(). This is a common case. Instead, just leave the pages in rq_pvec until it is completely full. This improves the efficiency of the batch release mechanism on workloads that involve small RPC messages. The rq_pvec is also fully emptied just before thread exit. Reviewed-by: Calum Mackay <calum.mackay@oracle.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions