Wind River Support Network

HomeDefectsLIN6-3769
Fixed

LIN6-3769 : [5.0.1][BSP:UPDATE Intel Xeon Core] In NUMA target, set_mempolicy do not work when mode is MPOL_BIND

Created: Feb 19, 2013    Updated: Mar 10, 2016
Resolved Date: Nov 28, 2013
Previous ID: LIN5-7341, LIN6-3002
Found In Version: 6.0
Fix Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

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>>>

Steps to Reproduce

1. Configure and build linux project with --enable-test

2. Boot the NUMA target such as canoe pass and follow the test log

Other Downloads


Live chat
Online