Linux kernel module · C

Kernel pub/sub

This is a Linux kernel module written in C. Userspace clients needed a way to subscribe to topics, and the kernel needed a way to talk to those clients without handing them its own memory.

What was built

The IPC between the kernel and userspace is netlink sockets. Topic subscriptions sit on the kernel's rhashtable. Concurrent clients are kept in line with fine-grained locking. That is the whole published description: three mechanisms, no measurements.

What this page does not add

There is no public repository and no published result. This page does not add a throughput number, a latency number, a lock-ordering story, or a link to code.

back to built