Wind River Support Network

HomeDefectsLIN5-7337
Fixed

LIN5-7337 : [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: Dec 19, 2017
Resolved Date: Mar 18, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.1
Severity: Severe
Applicable for: Wind River Linux 5
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