svc_serv_nrpools(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ svc_serv_nrpools(9) ✨

okay so bestie, welcome to svc_serv_nrpools(9) from the Kernel API Manual πŸŽ€ this one is short, sweet, and lowkey iconic β€” no cap.


πŸ’… NAME πŸ’…

svc_serv_nrpools β€” number of thread pools backing a service


🫢 SYNOPSIS 🫢

unsigned int svc_serv_nrpools (const struct svc_serv *serv );

πŸŽ€ ARGUMENTS πŸŽ€

  • serv β€” An RPC service

πŸ’– DESCRIPTION πŸ’–

Pooled services all share the global svc_pool_map, so their pool count is svc_pool_map.npools. Unpooled services have a single pool. Reading npools without svc_pool_map_mutex is safe: a pooled service holds a map reference for its whole lifetime, so npools is stable once set.

Return value: the number of pools in serv ✨


🌈 SEE ALSO 🌈

Kernel file ./net/sunrpc/svc.c β€” then the whole squad:


xoxo, from ./net/sunrpc, October 2026, svc_serv_nrpools(9) πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from