mm: vm: Add tracking of which segments are loaded

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>