Morphable Resistive Memory Optimization for Mobile Virtualization