nlmsvc_proc_sm_notify(9)
π nlmsvc_proc_sm_notify β like, the "hey bestie I just rebooted" callback
okay so real talk, this is nlmsvc_proc_sm_notify(9) from the Kernel API Manual (section 9, we're in kernel-land now, put some respect on it π«Ά). She's a little niche, she's a little private, and honestly? She ate.
β¨ SYNOPSIS β¨
__be32 nlmsvc_proc_sm_notify (struct svc_rqst *rqstp );
like, that's the whole vibe. one function, one argument, one __be32 coming back at you π
π ARGUMENTS π
rqstpβ the RPC transaction context. that's it, that's the whole cast of characters. she's the main character energy of this whole page ngl πΈ
π₯ RETURN π₯
rpc_successβ RPC executed successfully. slay, it worked πrpc_system_errβ RPC execution failed. not slay, something went sideways π
π¦ DESCRIPTION π¦
okay so here's the tea β: the SM_NOTIFY procedure is a private callback from Linux statd β like a little backchannel DM, not the public group chat β and it is not part of the official NLM protocol. no cap, she's unofficial, she's off-book, she's giving secret-handshake energy π
and the RPC synopsis, verbatim, because we do not paraphrase the sacred texts:
void NLM_SM_NOTIFY(nlm_notifyargs) = 16;
basically: peer has rebooted. that's the whole message. "hey bestie, I restarted, please handle my locks accordingly" β iconic, minimal, efficient π―
π SEE ALSO π
the kernel file ./fs/lockd/svcproc.c, plus the entire friend group (yes, all of them, I'm not skipping a single one, we don't do that here):
nlmsvc_proc_null(9)nlmsvc_proc_test(9)nlmsvc_proc_lock(9)nlmsvc_proc_cancel(9)nlmsvc_proc_unlock(9)nlmsvc_proc_granted(9)nlmsvc_proc_test_msg(9)nlmsvc_proc_lock_msg(9)nlmsvc_proc_cancel_msg(9)nlmsvc_proc_unlock_msg(9)nlmsvc_proc_granted_msg(9)nlmsvc_proc_granted_res(9)nlmsvc_proc_unused(9)nlmsvc_proc_share(9)nlmsvc_proc_unshare(9)nlmsvc_proc_nm_lock(9)nlmsvc_proc_free_all(9)
fr fr, read them all. they're a package deal, iykyk π
and that's the page!! π signed, sealed, delivered from ./fs/lockd, dated October 2026, in the nlmsvc_proc_sm_notify(9) era. go forth and reboot responsibly bestie π¦β¨
π¦ 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