xs_udp_write_space(9)
π xs_udp_write_space(9) β Kernel API Manual π
okay so welcome to the xs_udp_write_space(9) page, bestie β we're doing kernel socket lore today and it's lowkey iconic π«Άβ¨
π NAME π
xs_udp_write_space β callback invoked when socket buffer space becomes available π
β¨ SYNOPSIS β¨
void xs_udp_write_space (struct sock *sk );
πΈ ARGUMENTS πΈ
skβ socket whose state has changed π¦
π« DESCRIPTION π«
Called when more output buffer space is available for this socket. Big mood: we try not to wake our writers until they can make "significant" progress, otherwise we'll waste resources thrashing kernel_sendmsg with a bunch of small requests. fr fr, nobody wants that tiny-request chaos ππ₯
π₯ SEE ALSO π₯
Kernel file ./net/sunrpc/xprtsock.c β and here's the whole squad, bestie:
xs_nospace(9)xs_local_send_request(9)xs_udp_send_request(9)xs_tcp_send_request(9)xs_error_report(9)xs_close(9)xs_destroy(9)xs_udp_data_read_skb(9)xs_data_ready(9)xs_local_state_change(9)xs_tcp_state_change(9)xs_tcp_write_space(9)xs_udp_set_buffer_size(9)xs_udp_timer(9)xs_set_port(9)xs_local_setup_socket(9)xs_enable_swap(9)xs_disable_swap(9)xs_tcp_shutdown(9)xs_tcp_setup_socket(9)xs_tls_handshake_done(9)xs_tcp_tls_setup_socket(9)xs_connect(9)xs_local_print_stats(9)xs_udp_print_stats(9)xs_tcp_print_stats(9)bc_send_request(9)xs_setup_local(9)xs_setup_udp(9)xs_setup_tcp(9)xs_setup_tcp_tls(9)xs_setup_bc_tcp(9)init_socket_xprt(9)cleanup_socket_xprt(9)
okay that's the whole page, bestie!! source/version: ./net/sunrpc; date: October 2026. now go be the main character of socket buffer space π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms