sync with FreeBSD: we need a $FreeBSD$ entry here
add support for private knote lock (reduces lock contention),
adapting OS_selrecord accordingly.
use wake_up_interruptible on linux