removed alloc_qnode from acquire_lock as it is one time setup and already in shmem_init