kernel_optimize_test/tools
Petr Holasek 1d90a685eb perf bench numa: Fix immediate meeting of convergence condition
This patch fixes the race in the beginning of benchmark run when some
threads hasn't got assigned curr_cpu yet so they don't occur in
nodes-of-process stats and benchmark concludes that all remaining
threads are converged already.

The race can be reproduced with small amount of threads and some bigger
amount of shared process memory, e.g. one process, two threads and 5GB
of process memory.

Signed-off-by: Petr Holasek <pholasek@redhat.com>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1429198699-25039-4-git-send-email-pholasek@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-04-27 13:57:50 -03:00
..
build
cgroup
firewire
hv
include
lguest
lib tools lib traceevent: Fix build failure on 32-bit arch 2015-04-24 12:47:10 -03:00
net
nfsd
perf perf bench numa: Fix immediate meeting of convergence condition 2015-04-27 13:57:50 -03:00
power
scripts
testing
thermal/tmon
time
usb
virtio
vm
Makefile