diff options
author | Pat Galizia <pgalizia@codeaurora.org> | 2011-01-25 16:51:08 -0500 |
---|---|---|
committer | Jessica Gonzalez <jgaona@codeaurora.org> | 2011-03-10 16:21:42 -0800 |
commit | f8f5d10c2346d93acd5f05e0923f2792a8e55c98 (patch) | |
tree | 2fa2d6333b76a8046ce8764f348cbc8c35abef17 /libc/arch-arm/syscalls/__fork.S | |
parent | fc261741d3249fa4cb4e5dd24b5c15b1717eb4b7 (diff) | |
download | bionic-f8f5d10c2346d93acd5f05e0923f2792a8e55c98.zip bionic-f8f5d10c2346d93acd5f05e0923f2792a8e55c98.tar.gz bionic-f8f5d10c2346d93acd5f05e0923f2792a8e55c98.tar.bz2 |
Modify Android mem* routines with CodeAurora versions.
Update the memcpy, memmove, and memset routines to use the
versions from CodeAurora when specified in the bionic/Android.mk
file (actually activated in the BoardConfig.mk file under
device/<vendor>/<board>). With this change, the mem* routines are
only used for the msm8660, while other platforms will use the
current Android mem* routines.
Future platforms can modify the makefile to use the CodeAurora-based
mem* routines as desired. This has the benefit of making the CodeAurora-
based routines opt-in instead of opt-out.
Also, PLDSIZE and PLDOFFS can be specified in the BoardConfig.mk as well,
so other platforms with different PLD tunings can use the same code
without modifying the source file itself.
Tests with FileCycler-0.3 showed a slight 1.1% improvement with these
files on an 8660v2, based on the average of three FileCycler runs with
and without the patch. Since the min/max values did not overlap, and
the average score showed an improvement, we can consider upstreaming these
modifications.
(cherry picked from commit 77e312b6535456180f3b77a9d998a58d192ac07f)
Change-Id: I10a34610c2d48376b3000ca9767f4dec7d37441a
Diffstat (limited to 'libc/arch-arm/syscalls/__fork.S')
0 files changed, 0 insertions, 0 deletions