#include <sys/_lock.h>
#include <sys/_sx.h>
#include <sys/lock_profile.h>
#include <sys/proc.h>
#ifdef _KERNEL
#include <machine/atomic.h>