svc_stat_free_counts(9)
π NAME π
Okay bestie, welcome to the Kernel API Manual, section 9 β the little corner of the man-verse where kernel devs hang out. Today's main character is svc_stat_free_counts(9), and what it does is literally this:
svc_stat_free_counts β free per-netns per-version call count arrays π§Ήβ¨
That's it. That's the whole job. It frees the per-netns per-version call count arrays, no cap.
β¨ SYNOPSIS β¨
void svc_stat_free_counts (struct svc_stat *statp );
Yep, that's the whole signature β returns void, so nothing comes back to you, it just does the thing and dips. π¨
π ARGUMENTS π
statpβ thesvc_statwhosevs_countarrays should be freed π«Ά
One argument, one job. You hand it the svc_stat, it goes and frees those vs_count arrays. Iconic, honestly.
π SEE ALSO π
Bestie you are not ready for this friend group β the whole sunrpc squad lives in the kernel file ./net/sunrpc/svc.c, and here's the full roll call:
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_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_process(9)svc_process_bc(9)svc_max_payload(9)svc_proc_name(9)svc_encode_result_payload(9)svc_fill_symlink_pathname(9)
Lowkey a whole friend group chat of syscalls-adjacent besties. Go say hi. π
Also worth noting: svc_stat_alloc_counts(9) is right there in the list, so likeβ¦ allocation and freeing are giving matched-set energy. Slay. π¦
And that's the vibe check, bestie β this page came to you straight out of ./net/sunrpc, dated October 2026, and the page itself is svc_stat_free_counts(9). Periodt. ππ
π¦ 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