]> git.baikalelectronics.ru Git - kernel.git/commit
perf bench: Prepare memcpy for merge
authorRabin Vincent <rabin.vincent@axis.com>
Tue, 2 Dec 2014 15:50:39 +0000 (16:50 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 9 Dec 2014 12:14:00 +0000 (09:14 -0300)
commit94143f2552c68fcf65d36ad3653010b239851213
tree2b3bc8b3f22f549a66298c5ff4f30dea07dbabb7
parent6dfc2fc03717dd2de7e107e85fc569291fa7f1ee
perf bench: Prepare memcpy for merge

The memset benchmark is largely copy-pasted from the memcpy benchmark.
Prepare the memcpy file for merge with memset by extracting out a
generic function.

Signed-off-by: Rabin Vincent <rabin.vincent@axis.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Rabin Vincent <rabinv@axis.com>
Link: http://lkml.kernel.org/r/1417535441-3965-1-git-send-email-rabin.vincent@axis.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/bench/mem-memcpy.c