Couldn't you reuse utils.MemInfo struct?