svc_create_pooled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay so this is the svc_create_pooled(9) page from the Kernel API Manual, and it's literally about creating an RPC service with pooled threads. Slay. πŸ’…

✨ SYNOPSIS ✨

struct svc_serv * svc_create_pooled (struct svc_program *prog , unsigned
       int nprogs , struct svc_stat *stats , unsigned int bufsize , int
       (*threadfn)(void *data) );

πŸŽ€ ARGUMENTS πŸŽ€

  • prog β€” the array of RPC programs that your new service is gonna handle, bestie.
  • nprogs β€” how many programs are actually in that array. Count carefully, queen.
  • stats β€” the stats struct, if desired. Optional-ish vibe, but keep it in mind. 🫢
  • bufsize β€” the maximum message size for prog. Big messages need room, periodt.
  • threadfn β€” a function to service RPC requests for prog. The main character worker function, fr fr.

πŸ’– DESCRIPTION πŸ’–

It returns an instantiated struct svc_serv object β€” or NULL. That's the whole tea. No cap. ✨

Like, you call it, and you either get your shiny instantiated struct svc_serv object or you get NULL. Iconic either way, ngl. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./net/sunrpc/svc.c, plus these very valid, very iconic man pages:


xoxo, your kernel bestie πŸ’… β€” this cutie came from ./net/sunrpc, dated October 2026, and it's all about svc_create_pooled(9). πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from