Fwd: alloc_pages_bulk()
From: Chuck Lever <hidden>
Date: 2021-02-08 17:50:58
Also in:
linux-nfs
Sorry for resending. I misremembered the linux-mm address.
Begin forwarded message: From: Chuck Lever <redacted> Subject: alloc_pages_bulk() Date: February 8, 2021 at 10:42:07 AM EST To: "mgorman@suse.de" <mgorman@suse.de>, "brouer@redhat.com" <redacted> Cc: "linux-mm@vger.kernel.org" <redacted>, Linux NFS Mailing List <redacted> Hi- [ please Cc: me, I'm not subscribed to linux-mm ] We've been discussing how NFSD can more efficiently refill its receive buffers (currently alloc_page() in a loop; see net/sunrpc/svc_xprt.c::svc_alloc_arg()). Neil Brown pointed me to this old thread: https://lore.kernel.org/lkml/20170109163518.6001-1-mgorman@techsingularity.net/ (local) We see that many of the prerequisites are in v5.11-rc, but alloc_page_bulk() is not. I tried forward-porting 4/4 in that series, but enough internal APIs have changed since 2017 that the patch does not come close to applying and compiling. I'm wondering: a) is there a newer version of that work? b) if not, does there exist a preferred API in 5.11 for bulk page allocation? Many thanks for any guidance! -- Chuck Lever
-- Chuck Lever