XRevert "shm_mem"

This reverts commit d8d54f50335cf24a58a681d4a06c6abef41e9322.