/// Set default NUMA memory policy for a thread and its children
pubunsafefnset_mempolicy(mode:i32, nmask:&[usize], max_node:usize)->Result<(), Errno>{let mode = mode asusize;let nmask = nmask.as_ptr()asusize;syscall3(SYS_SET_MEMPOLICY, mode, nmask, max_node).map(drop)}