Fwd: alloc_pages_bulk()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry for resending. I misremembered the linux-mm address.


> Begin forwarded message:
> 
> From: Chuck Lever <chuck.lever@xxxxxxxxxx>
> Subject: alloc_pages_bulk()
> Date: February 8, 2021 at 10:42:07 AM EST
> To: "mgorman@xxxxxxx" <mgorman@xxxxxxx>, "brouer@xxxxxxxxxx" <brouer@xxxxxxxxxx>
> Cc: "linux-mm@xxxxxxxxxxxxxxx" <linux-mm@xxxxxxxxxxxxxxx>, Linux NFS Mailing List <linux-nfs@xxxxxxxxxxxxxxx>
> 
> 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@xxxxxxxxxxxxxxxxxxx/
> 
> 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







[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux