Avoid as much as possible getting locks on output(to userland).