mm: introduce page reference manipulation functions