shmem_lock
mutex_init(&scmi_info->shmem_lock);
mutex_lock(&scmi_info->shmem_lock);
mutex_unlock(&scmi_info->shmem_lock);
struct mutex shmem_lock;
extern int shmem_lock(struct file *file, int lock, struct ucounts *ucounts);
err = shmem_lock(shm_file, 1, ucounts);
shmem_lock(shm_file, 0, shp->mlock_ucounts);
shmem_lock(shm_file, 0, shp->mlock_ucounts);