svc_pool_for_cpu(9)
πΈ svc_pool_for_cpu(9) β Kernel API Manual πΈ
okay bestie, this is svc_pool_for_cpu(9) from the Kernel API Manual β weβre doing kernel RPC pool selection, but make it cute. π
π NAME π
svc_pool_for_cpu β select pool to run a thread on this cpu.
β¨ SYNOPSIS β¨
struct svc_pool * svc_pool_for_cpu (struct svc_serv *serv );
π«Ά ARGUMENTS π«Ά
servβ An RPC service. Thatβs the whole argument, and honestly? Iconic. π
π¦ DESCRIPTION π¦
So like, this function uses the active CPU and the svc_pool_map to select the svc thread pool to use. Once itβs initialized, the svc_pool_map does not change β periodt, itβs locked in. π
Return value: a pointer to an svc_pool. Slay. π
π₯ SEE ALSO π₯
Kernel file: ./net/sunrpc/svc.c β go look, bestie, iykyk.
sunrpc_get_pool_mode(9)svc_serv_nrpools(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_serv_maxthreads(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)
okay bye bestie! source ./net/sunrpc, dated October 2026 β mwah, stay hydrated and may your pools always vibe-check correctly. πβ¨π
π¦ 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