Skip to content

Commit

Permalink
x86: customize the malloced address to be 16-byte aligned
Browse files Browse the repository at this point in the history
That can gain better memory performance than 8-byte alignment

Change-Id: Ibcc5bf7b96ed10166038357dd0c86c9171768f3e
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
  • Loading branch information
jren1 committed May 8, 2012
1 parent bf3d328 commit 6f28d97
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions target/board/generic_x86/BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ BOARD_USES_GENERIC_AUDIO := true
# no hardware camera
USE_CAMERA_STUB := true

# customize the malloced address to be 16-byte aligned
BOARD_MALLOC_ALIGNMENT := 16

# Set /system/bin/sh to ash, not mksh, to make sure we can switch back.
TARGET_SHELL := ash

Expand Down

0 comments on commit 6f28d97

Please sign in to comment.