SHMEM_F_LOCKED
if ((info->flags & SHMEM_F_LOCKED) || sbinfo->noswap)
if (lock && !(info->flags & SHMEM_F_LOCKED)) {
info->flags |= SHMEM_F_LOCKED;
if (!lock && (info->flags & SHMEM_F_LOCKED) && ucounts) {
info->flags &= ~SHMEM_F_LOCKED;