On Wed, Mar 05, 2025 at 06:11:24PM +0000, Matthew Wilcox wrote: > Networking needs to follow block's lead and STOP GETTING REFCOUNTS ON > PAGES. The block layer never took references on pages. The direct I/O helpers that just happened to set in block/ did hold references and abused some field in the bio for it (and still do for the pinning), but the reference was (and the pin now is) owned by the submitter. The block layer model has always been that the submitter needs to ensure memory stays allocated until the I/O has completed. Which IMHO is the only sane model for dealing with memory lifetimes vs I/O, and something networking absolutely should follow.