# Re: \[PATCH\] mm: Decline to manipulate the refcount on a slab page

- From: Christoph Hellwig \<hch@infradead.org\>
- Date: 2025-03-12 05:47:33 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/03/6536949
- Thread: https://ratatoskr.run/netdev/2025/03/6536907/t.md

```text
On Tue, Mar 11, 2025 at 11:15:11AM +0100, Jakub Kicinski wrote:
> On Mon, 10 Mar 2025 14:35:24 +0000 Matthew Wilcox (Oracle) wrote:
> > Long-term, networking needs to stop taking a refcount on the pages that
> > it uses and rely on the caller to hold whatever references are necessary
> > to make the memory stable. 
> 
> TBH I'm not clear on who is going to fix this.
> IIRC we already told NVMe people that sending slab memory over sendpage 
> is not well supported. Plus the bug is in BPF integration, judging by
> the stack traces (skmsg is a BPF thing). Joy.

slab over sendpage doesn't work because you refuse to take the patches
to make it work by transparently falling back to sendmsg.  It's a giant
pain for all network storage drivers caused by the networking
maintainers.  The ultimate root cause is the fact that networking messes
with the refcounts.

```
