kernel_optimize_test/tools/perf/bench
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
..
bench.h perf bench: Add --repeat option 2014-06-19 16:13:15 -03:00
Build perf build: Add bench objects building 2015-02-12 11:32:32 -03:00
futex-hash.c perf bench futex: Support operations for shared futexes 2014-09-29 15:43:21 -03:00
futex-requeue.c perf bench futex: Fix hung wakeup tasks after requeueing 2015-04-27 13:57:49 -03:00
futex-wake.c perf bench futex: Support operations for shared futexes 2014-09-29 15:43:21 -03:00
futex.h perf tools: Provide stub for missing pthread_attr_setaffinity_np 2015-01-28 12:43:32 -03:00
mem-memcpy-arch.h tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
mem-memcpy-x86-64-asm-def.h perf bench: Also allow measuring alternative memcpy implementations 2012-01-24 19:51:01 -02:00
mem-memcpy-x86-64-asm.S Merge branch 'perf/urgent' into perf/core 2012-02-06 19:11:02 -02:00
mem-memcpy.c perf bench: Fix order of arguments to memcpy_alloc_mem 2015-02-22 23:10:56 -03:00
mem-memset-arch.h tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
mem-memset-x86-64-asm-def.h perf bench: Also allow measuring memset() 2012-01-24 20:25:32 -02:00
mem-memset-x86-64-asm.S perf tool: Fix perf stack to non executable on x86_64 2012-02-06 19:14:17 -02:00
numa.c perf bench numa: Fix immediate meeting of convergence condition 2015-04-27 13:57:50 -03:00
sched-messaging.c perf tools: Don't include sys/poll.h directly 2014-09-17 17:08:09 -03:00
sched-pipe.c perf tools: Avoid build splat for syscall numbers with uclibc 2015-01-16 17:49:29 -03:00