Re: [RFC PATCH 4/4] ksmbd: send READ payloads with MSG_SPLICE_PAGES
From: hehuiwen
Date: Thu Oct 29 2026 - 11:50:50 EST
在 2026/10/24 12:44, Namjae Jeon 写道:
Order-8 and order-10 allocations can easily fail when memory is
fragmented. Since MSG_SPLICE_PAGES does not require physically
contiguous pages, could we allocate individual pages and use a bvec
iterator instead? Please see drivers/nvme/host/tcp.c as an example.
Yeah, I agree with this. But I tried individual pages with a bvec iterator. It was about 9% slower than the high-order page version.
Anyway, it still faster than the original copy-based implementation.
Thanks,
Huiwen