Home | History | Annotate | Download | only in Xpm-tests
      1 # memtoy test - lazy migrate single 8 page anon segment
      2 #
      3 #numa
      4 anon foo 8p
      5 map foo
      6 mbind foo preferred 1
      7 touch foo w
      8 where foo
      9 touch foo r
     10 #numa
     11 #pause
     12 # lazy mig -- no wait
     13 mbind foo 0 8p bind+move 2
     14 # NOTE:  get_mempolicy(...,'NODE|'ADDR) will fault in
     15 # pages to get nodes.  Forces migration at this point
     16 where foo
     17 # SIGINT [^C] to continue
     18 #pause
     19 # read pages to migrate on fault
     20 #touch foo r
     21 #numa
     22