]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: convert sunrpc from pagevec to folio_batch
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 21 Jun 2023 16:45:53 +0000 (17:45 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 23 Jun 2023 23:59:30 +0000 (16:59 -0700)
commit76fa88429075667fe76d4905f2f471e0ac3d543c
tree64d65033cb185dc69e09a6c581ed415b1162b6a4
parentf8a101ff09a70ec708b66b3f5bd4e7405283d14a
net: convert sunrpc from pagevec to folio_batch

Remove the last usage of pagevecs.  There is a slight change here; we now
free the folio_batch as soon as it fills up instead of freeing the
folio_batch when we try to add a page to a full batch.  This should have
no effect in practice.

Link: https://lkml.kernel.org/r/20230621164557.3510324-10-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/sunrpc/svc.h
net/sunrpc/svc.c