diff options
| author | Chuck Lever <cel@kernel.org> | 2026-08-21 13:22:41 -0400 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-10-04 21:15:29 -0400 |
| commit | 33bebffc709c1c2f496e068ba1aa015c1d892f75 (patch) | |
| tree | 203c5619706afe32f344e6a50fc6ba4e3ab2c4d7 /scripts/Makefile.thinlto | |
| parent | c5a9523f92c2893cb4ec9a3ed91a513f3195cb65 (diff) | |
SUNRPC: Flush a received record's pages once it is complete
svc_tcp_read_msg() flushes the destination pages after every
receive. A record that arrives in several pieces is therefore
flushed once per piece. A page spanning two pieces is flushed
twice. Nothing reads the message body before the record is
complete, so no reader needs the intermediate flushes.
Flush every page of the record in one pass from svc_tcp_recvfrom(),
once the last fragment has arrived. Remove svc_flush_bvec() and its
ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE guard. The guard avoided setting
up a bvec iterator, and a plain walk of rq_pages compiles away on
its own where flush_dcache_page() is an empty inline.
Link: https://patch.msgid.link/20260821-tls-read-sock-2-v1-3-7ffce164eb45@kernel.org
Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
