revert mm: fix calculation of dirtyable memory