vlib: fix code of getting numa node with specific cpu_id 95/25195/1
authorLijian.Zhang <Lijian.Zhang@arm.com>
Fri, 14 Feb 2020 07:16:49 +0000 (15:16 +0800)
committerLijian.Zhang <Lijian.Zhang@arm.com>
Mon, 17 Feb 2020 09:05:17 +0000 (17:05 +0800)
commit4fbb9daa90b53e0abaa060cf6db7762e708ce5b6
tree73f34e6e31d095cff79c4d785e1c41dbec2ec426
parent2d59f59fb9551aa1f5862529c08376e245867d18
vlib: fix code of getting numa node with specific cpu_id

Use below sysfs files to check which numa node a specific cpu_id belongs to.

/sys/devices/system/node/online
/sys/devices/system/node/node0/cpulist
/sys/devices/system/node/node1/cpulist

Type: fix

Change-Id: I124b80b1fd4a20dd7bd76f0ae27d5ab23a3a8ff1
Signed-off-by: Lijian Zhang <Lijian.Zhang@arm.com>
src/vlib/threads.c