# test mbind+move of subranges of a shared memory segment # assumes a 4 node system [0-3] # # 1) an 8 page shm seg, initially bound to node 1 shm s1 8p map s1 mbind s1 bind 1 touch s1 w where s1 # # now bind pages 2-3 to node 2: mbind s1 2p 2p bind+move 2 where s1 # # now bind pages 6-7 to node 3: mbind s1 6p 2p bind+move 3 where s1 # # OK, now rebind the entire segment to node zero: # should replace all sub-range policies with a # single policy. # But, will the splitting of vmas interfere? mbind s1 bind+move 0 where s1