]> 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)
commit523570c34659055fb9cb53320566b5cedc9fc3db
tree2b3bc8b3f22f549a66298c5ff4f30dea07dbabb7
parent988db0558168e1141e86622df227547f6d242b5c
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