aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2023-04-15 00:18:15 +0000
committerChuck Lever <[email protected]>2023-04-27 22:49:23 +0000
commit6a0cdf56bfc9a1791ddd6955d60f3678523e599c (patch)
treea5b156e0b6fbe3979be4da99385e23061fed2570 /tools/perf/scripts/python
parentSUNRPC: Convert svc_xprt_release() to the release_pages() API (diff)
downloadkernel-6a0cdf56bfc9a1791ddd6955d60f3678523e599c.tar.gz
kernel-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 <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions