Adapt dircache hibernation to core_alloc