mm: Added dynamic writeback