alloc_pages_bulk()

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

 



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







[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