Problem Description ====================== In NUMA target, syscall set_mempolicy(MPOL_BIND, &nmask, MAXNODES) return errno=EINVAL(22): Invalid argument This issue cause the failure of following LTP case: ksm02,ksm02_1,ksm04,ksm04_1,cpuset01,oom02,oom04 Logs(Key error logs) ====================== On canoe pass target root@Remley-EP_C0:/opt/ltp# ./runltp -s ksm02 ..... <<<test_start>>> tag=ksm02 stime=1376276716 cmdline="ksm02" contacts="" analysis=exit <<<test_output>>> ksm02 0 TINFO : get node0. ksm02 1 TBROK : set_mempolicy: errno=EINVAL(22): Invalid argument ksm02 2 TBROK : Remaining cases broken <<<execution_status>>>
1. Configure and build linux project with --enable-test 2. Boot the NUMA target such as canoe pass and follow the test log