On 15/04/2023 1:17 am, Chuck Lever wrote:
I've found a few ways to optimize the release of pages in NFSD. Please let me know if I'm abusing the release_pages() and pagevec APIs. --- Chuck Lever (4): SUNRPC: Relocate svc_free_res_pages() SUNRPC: Convert svc_xprt_release() to the release_pages() API SUNRPC: Convert svc_tcp_restore_pages() to the release_pages() API SUNRPC: Be even lazier about releasing pages include/linux/sunrpc/svc.h | 12 +----------- net/sunrpc/svc.c | 21 +++++++++++++++++++++ net/sunrpc/svc_xprt.c | 5 +---- net/sunrpc/svcsock.c | 12 ++++++------ 4 files changed, 29 insertions(+), 21 deletions(-) -- Chuck Lever
Looks good to me, Chuck. Reviewed-by: Calum Mackay <calum.mackay@xxxxxxxxxx>
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature