__post_watch_notification(9)
π __post_watch_notification(9) β Kernel API Manual π
πΈ NAME πΈ
__post_watch_notification β post an event notification, bestie β¨
β¨ SYNOPSIS β¨
void __post_watch_notification (struct watch_list *wlist , struct watch_notification *n , const struct cred *cred , u64 id );
π ARGUMENTS π
wlistβ the watch list you're posting the event to, periodt.nβ the notification record itself, aka the thing getting posted.credβ the creds of the process that triggered the notification. yes, those creds.idβ the ID to match on the watch. gotta match it, iykyk.
π DESCRIPTION π
Okay so this function posts a notification of an event into a set of watch queues and lets the users know. that's the whole vibe π
The notification's size has to be set in n->info & WATCH_INFO_LENGTH, and it should be in units of sizeof(*n).
π size check, bestie:n->info & WATCH_INFO_LENGTH, measured in units ofsizeof(*n). do not skip this π
π¦ SEE ALSO π¦
Kernel file ./kernel/watch_queue.c:
put_watch_queue(9)init_watch(9)add_watch_to_object(9)remove_watch_from_object(9)get_watch_queue(9)
π source/version:./kernelΒ· date:October 2026Β· page:__post_watch_notification(9)β that's the sign-off, bestie, mwah πβ¨π«Ά
π¦ 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