wip C · Linux kernel

swTimerMod

A Linux kernel module for software timers: expiry that calls back into userspace, for the boards whose hardware timers do not stretch that far.

The kernel ships no module that lets you arm one and have it call a function back in userspace at expiry. On a board like the Raspberry Pi, where you get whatever the silicon offered and no more, that is a feature worth having.

The module is an attempt at exactly that. It builds against the running kernel’s headers, loads with insmod, and announces itself in the kernel log. This is still being worked out.