• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# memtoy test - lazy migrate single 8 page anon segment
2#
3#numa
4anon foo 8p
5map foo
6mbind foo preferred 1
7touch foo w
8where foo
9touch foo r
10#numa
11#pause
12# lazy mig -- no wait
13mbind 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
16where foo
17# SIGINT [^C] to continue
18#pause
19# read pages to migrate on fault
20#touch foo r
21#numa
22