Reduce the number of callbacks to userspace