Teach refcount_read to create the shared memory