summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2026-03-11 12:18:54 -0400
committerChuck Lever <chuck.lever@oracle.com>2026-04-03 09:26:17 -0400
commit4e2866b2baaddfff6069a2f18fc134c1d5a08f2b (patch)
tree118ec5f8622e84aa7d6c8f416520a3b3c3ba848a /tools/lib/python/kdoc
parent3603bf99062c6d563df4fba3848f829d5401d959 (diff)
SUNRPC: Add svc_rqst_page_release() helper
svc_rqst_replace_page() releases displaced pages through a per-rqst folio batch, but exposes the add-or-flush sequence directly. svc_tcp_restore_pages() releases displaced pages individually with put_page(). Introduce svc_rqst_page_release() to encapsulate the batched release mechanism. Convert svc_rqst_replace_page() and svc_tcp_restore_pages() to use it. The latter now benefits from the same batched release that svc_rqst_replace_page() already uses. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions