1 # memtoy test - lazy migration of entire 1M mapped file 2 # lazy migrate, then touch to fault 3 # requires ./zerofile-1m 4 # 5 numa 6 file zerofile-1m 7 map zerofile-1m 8 mbind zerofile-1m preferred 1 9 touch zerofile-1m w 10 where zerofile-1m 11 numa 12 #pause 13 # lazy mig [move], no 'wait' 14 mbind zerofile-1m bind+move 2 15 # 16 # NOTE: get_mempolicy(...,'NODE|'ADDR) will fault in 17 # pages to get nodes. Forces migration at this point 18 where zerofile-1m 19 # 20 #touch zerofile-1m r 21 #where zerofile-1m 22 numa 23