All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] Question about Cpus_allowed_list
@ 2018-07-17  9:41 Xiao Yang
  0 siblings, 0 replies; only message in thread
From: Xiao Yang @ 2018-07-17  9:41 UTC (permalink / raw)
  To: ltp

Hi,

With Intel(R) Core(TM)2 Duo CPU E7500, running cpuset_hotplug_test.sh
always got the following error:
-------------------------------------------------------------------------------------
cpuset_hotplug 1 TFAIL: task's allowed list isn't expected.(Result: 0-3,
Expect: 0-1)
-------------------------------------------------------------------------------------

No matter what is the number of cpu processors from /proc/cpuinfo
(specify 2 or 1 by offlining cpu),
the Cpus_allowed_list from /proc/<pid>/status is always 0-3.

Simple steps to reproduce this issue:
# /bin/cat /dev/zero > /dev/null 2>&1 &
[1] 15079
# nproc (or cat /proc/cpuinfo | grep processor | wc -l)
2
# cat /proc/15079/status | grep Cpus_allowed_list
Cpus_allowed_list: 0-3

We also tested cpuset_hotplug_test.sh with Core(TM) i3 CPU and Core(TM)
i5 CPU, it showed the
same Cpus_allowed_list as the number of cpu processors as expected.

Is this a known issue on Core(TM)2 Duo CPU, should we use taskset
command to change Cpus_allowed_list?

Thanks,
Xiao Yang



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-17  9:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-17  9:41 [LTP] Question about Cpus_allowed_list Xiao Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.