svc_serv_maxthreads(9)
π svc_serv_maxthreads(9) β Kernel API Manual
πΈ NAME
svc_serv_maxthreads β report a service's configured thread ceiling π
β¨ SYNOPSIS
okay bestie, the call itself is literally right here π
unsigned int svc_serv_maxthreads (const struct svc_serv *serv );
π ARGUMENTS
servβ the RPC service you're querying, no cap π«Ά
π¦ DESCRIPTION
So a pooled service sizes its threads dynamically, which means the number of threads running at any moment tracks recent load rather than the service's capacity. The per-pool maximum is the stable figure a consumer should size against. π
The caller must keep serv valid for the duration of the call. fr fr, don't let it go stale on you π
β RETURN
the sum of every pool's maximum thread count. periodt π
π SEE ALSO
- Kernel file
./net/sunrpc/svc.c sunrpc_get_pool_mode(9)svc_serv_nrpools(9)svc_pool_for_cpu(9)svc_create(9)svc_create_pooled(9)svc_pool_wake_idle_thread(9)svc_new_thread(9)svc_set_pool_threads(9)svc_set_num_threads(9)svc_rqst_replace_page(9)svc_rqst_release_pages(9)svc_exit_thread(9)svc_register(9)svc_stat_alloc_counts(9)svc_stat_free_counts(9)svc_process(9)svc_process_bc(9)svc_max_payload(9)svc_proc_name(9)svc_encode_result_payload(9)svc_fill_symlink_pathname(9)
xoxo, this page came from source/version ./net/sunrpc, dated October 2026, and yes bestie it's svc_serv_maxthreads(9) πβ¨
π¦ 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