move zmalloc to mm (reverted from commit b1ba3678693c6fe72b6083246614cb5f959aaacf)