/opt/ppos/sbin/mcreboot.sh -m 32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@0,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1,32M@1
/opt/ppos/bin/mcexec mcexec_test_proc/exec_setmempolicy_mbind 0x8000 0x0 2 0x80ff 0x3 2 0 9
-----
OK:set_mempolicy - mode:(MPOL_DEFAULT) nodemask:0x0 maxnode:2
OK:get_mempolicy - mode:(MPOL_DEFAULT) nodemask:0x0 maxnode:2
-----
[00] OK:mmap - addr:(0x00001000002e0000) len:4096 prot:0x3 flags:0x22
[00] OK:mbind - addr:(0x00001000002e0000) len:4096 mode:(MPOL_DEFAULT) nodemask:0x0 maxnode:2 flags:1
[00] OK:get_mempolicy - addr:(0x00001000002e0000) mode:(MPOL_DEFAULT)
[00] OK:munmap - addr:(0x00001000002e0000) len:4096
[00] OK:mmap - addr:(0x00001000002e0000) len:4096 prot:0x3 flags:0x32
[00] OK:mmap - addr:(0x00001000002f0000) len:4096 prot:0x3 flags:0x22
-----
[01] OK:mmap - addr:(0x0000100000300000) len:4096 prot:0x3 flags:0x22
[01] OK:mbind - addr:(0x0000100000300000) len:4096 mode:(MPOL_PREFERRED) nodemask:0x3 maxnode:2 flags:0
[01] OK:get_mempolicy - addr:(0x0000100000300000) mode:(MPOL_PREFERRED)
[01] OK:munmap - addr:(0x0000100000300000) len:4096
[01] OK:mmap - addr:(0x0000100000300000) len:4096 prot:0x3 flags:0x32
[01] OK:mmap - addr:(0x0000100000310000) len:4096 prot:0x3 flags:0x22
-----
[02] OK:mmap - addr:(0x0000100000320000) len:4096 prot:0x3 flags:0x22
[02] OK:mbind - addr:(0x0000100000320000) len:4096 mode:(MPOL_BIND) nodemask:0x3 maxnode:2 flags:0
[02] OK:get_mempolicy - addr:(0x0000100000320000) mode:(MPOL_BIND)
[02] OK:munmap - addr:(0x0000100000320000) len:4096
[02] OK:mmap - addr:(0x0000100000320000) len:4096 prot:0x3 flags:0x32
[02] OK:mmap - addr:(0x0000100000330000) len:4096 prot:0x3 flags:0x22
-----
[03] OK:mmap - addr:(0x0000100000340000) len:4096 prot:0x3 flags:0x22
[03] OK:mbind - addr:(0x0000100000340000) len:4096 mode:(MPOL_DEFAULT) nodemask:0x0 maxnode:2 flags:1
[03] OK:get_mempolicy - addr:(0x0000100000340000) mode:(MPOL_DEFAULT)
[03] OK:munmap - addr:(0x0000100000340000) len:4096
[03] OK:mmap - addr:(0x0000100000340000) len:4096 prot:0x3 flags:0x32
[03] OK:mmap - addr:(0x0000100000350000) len:4096 prot:0x3 flags:0x22
-----
[04] OK:mmap - addr:(0x0000100000360000) len:4096 prot:0x3 flags:0x22
[04] OK:mbind - addr:(0x0000100000360000) len:4096 mode:(MPOL_PREFERRED) nodemask:0x3 maxnode:2 flags:0
[04] OK:get_mempolicy - addr:(0x0000100000360000) mode:(MPOL_PREFERRED)
[04] OK:munmap - addr:(0x0000100000360000) len:4096
[04] OK:mmap - addr:(0x0000100000360000) len:4096 prot:0x3 flags:0x32
[04] OK:mmap - addr:(0x0000100000370000) len:4096 prot:0x3 flags:0x22
-----
[05] OK:mmap - addr:(0x0000100000380000) len:4096 prot:0x3 flags:0x22
[05] OK:mbind - addr:(0x0000100000380000) len:4096 mode:(MPOL_BIND) nodemask:0x3 maxnode:2 flags:0
[05] OK:get_mempolicy - addr:(0x0000100000380000) mode:(MPOL_BIND)
[05] OK:munmap - addr:(0x0000100000380000) len:4096
[05] OK:mmap - addr:(0x0000100000380000) len:4096 prot:0x3 flags:0x32
[05] OK:mmap - addr:(0x0000100000390000) len:4096 prot:0x3 flags:0x22
-----
[06] OK:mmap - addr:(0x00001000003a0000) len:4096 prot:0x3 flags:0x22
[06] OK:mbind - addr:(0x00001000003a0000) len:4096 mode:(MPOL_DEFAULT) nodemask:0x0 maxnode:2 flags:1
[06] OK:get_mempolicy - addr:(0x00001000003a0000) mode:(MPOL_DEFAULT)
[06] OK:munmap - addr:(0x00001000003a0000) len:4096
[06] OK:mmap - addr:(0x00001000003a0000) len:4096 prot:0x3 flags:0x32
[06] OK:mmap - addr:(0x00001000003b0000) len:4096 prot:0x3 flags:0x22
-----
[07] OK:mmap - addr:(0x00001000003c0000) len:4096 prot:0x3 flags:0x22
[07] OK:mbind - addr:(0x00001000003c0000) len:4096 mode:(MPOL_PREFERRED) nodemask:0x3 maxnode:2 flags:0
[07] OK:get_mempolicy - addr:(0x00001000003c0000) mode:(MPOL_PREFERRED)
[07] OK:munmap - addr:(0x00001000003c0000) len:4096
[07] OK:mmap - addr:(0x00001000003c0000) len:4096 prot:0x3 flags:0x32
[07] OK:mmap - addr:(0x00001000003d0000) len:4096 prot:0x3 flags:0x22
-----
[08] OK:mmap - addr:(0x00001000003e0000) len:4096 prot:0x3 flags:0x22
[08] OK:mbind - addr:(0x00001000003e0000) len:4096 mode:(MPOL_BIND) nodemask:0x3 maxnode:2 flags:0
[08] OK:get_mempolicy - addr:(0x00001000003e0000) mode:(MPOL_BIND)
[08] OK:munmap - addr:(0x00001000003e0000) len:4096
[08] OK:mmap - addr:(0x00001000003e0000) len:4096 prot:0x3 flags:0x32
[08] OK:mmap - addr:(0x00001000003f0000) len:4096 prot:0x3 flags:0x22
-----
/opt/ppos/sbin/ihkosctl 0 kmsg
 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x300000000 - 0x302000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x302000000 - 0x304000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x304000000 - 0x306000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x306000000 - 0x308000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x308000000 - 0x30a000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x30a000000 - 0x30c000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x30c000000 - 0x30e000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x30e000000 - 0x310000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x310000000 - 0x312000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x312000000 - 0x314000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x314000000 - 0x316000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x316000000 - 0x318000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x318000000 - 0x31a000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x31a000000 - 0x31c000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x31c000000 - 0x31e000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x31e000000 - 0x320000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x320000000 - 0x322000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x322000000 - 0x324000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x324000000 - 0x326000000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x404c00000 - 0x406c00000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x406c00000 - 0x408c00000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x408c00000 - 0x40ac00000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x40ac00000 - 0x40cc00000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x40cc00000 - 0x40ec00000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x40ec00000 - 0x410c00000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x410c00000 - 0x412c00000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x412c00000 - 0x414c00000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x414c00000 - 0x416c00000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x416c00000 - 0x418c00000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x418c00000 - 0x41ac00000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x41ac00000 - 0x41cc00000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: Physical memory: 0x41cc00000 - 0x41ec00000, 33554432 bytes, 512 pages available @ NUMA: 1
[  0]: NUMA: 0, Linux NUMA: 0, type: 1, available bytes: 4292083712, pages: 65492
[  0]: NUMA: 1, Linux NUMA: 1, type: 1, available bytes: 4294967296, pages: 65536
[  0]: NUMA 0 distances: 0 (10), 1 (20), 
[  0]: NUMA 1 distances: 1 (10), 0 (20), 
[  0]: map_fixed: phys: 0x0 => 0xffff7ffffbe90000 (1 pages)
[  0]: Trampoline area: 0x0 
[  0]: map_fixed: phys: 0x0 => 0xffff7ffffbea0000 (1 pages)
[  0]: # of cpus : 2
[  0]: locals = ffff8001006f0000
[  0]: BSP: 0 (HW ID: 8 @ NUMA 0)
[  0]: BSP: booted 1 AP CPUs
[  0]: Master channel init acked.
[  0]: Enable Host mapping vDSO.
IHK/McKernel booted.
[  0]: numa_mem_policy=0
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x00001000000f0bd4) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[803]: applying addr-policy (and it's default-policy), addr(0x00001000002e0000) policy(MPOL_DEFAULT) <addr policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[740]: applying addr-policy (and it's not default-policy), addr(0x0000100000300000) policy(MPOL_PREFERRED) <addr policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[740]: applying addr-policy (and it's not default-policy), addr(0x0000100000320000) policy(MPOL_BIND) <addr policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[803]: applying addr-policy (and it's default-policy), addr(0x0000100000340000) policy(MPOL_DEFAULT) <addr policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[740]: applying addr-policy (and it's not default-policy), addr(0x0000100000360000) policy(MPOL_PREFERRED) <addr policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[740]: applying addr-policy (and it's not default-policy), addr(0x0000100000380000) policy(MPOL_BIND) <addr policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[803]: applying addr-policy (and it's default-policy), addr(0x00001000003a0000) policy(MPOL_DEFAULT) <addr policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[740]: applying addr-policy (and it's not default-policy), addr(0x00001000003c0000) policy(MPOL_PREFERRED) <addr policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: mckernel_allocate_aligned_pages_node[740]: applying addr-policy (and it's not default-policy), addr(0x00001000003e0000) policy(MPOL_BIND) <addr policy>
[  0]: mckernel_allocate_aligned_pages_node[811]: applying default-policy, addr(0x0000000000000000) policy(MPOL_DEFAULT) <default policy>
[  0]: fileobj_free(ffff800100de1040 ffff8005c3d2b700): free failed. -32
[  0]: fileobj_free(ffff800100e50020 ffff8005c3d26a00): free failed. -32
[  0]: fileobj_free(ffff800100ec0020 ffff8005c3d2d800): free failed. -32

