[PATCH] prevent NULL mmap in topdown model