summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-02-22 18:46:03 +0100
committerJeff Vander Stoep <jeffv@google.com>2016-09-22 13:38:22 -0700
commit477376b452f0d5fc564dfe2d0fc0fe8156051bb1 (patch)
tree89ca5514874d92638d2a9e237103c97ea29955ba /tools
parent298b730c260f6766a31ac4b3fa203d7d251a9cbd (diff)
UPSTREAM: arm64: mm: only perform memstart_addr sanity check if DEBUG_VM
Checking whether memstart_addr has been assigned every time it is referenced adds a branch instruction that may hurt performance if the reference in question occurs on a hot path. So only perform the check if CONFIG_DEBUG_VM=y. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> [catalin.marinas@arm.com: replaced #ifdef with VM_BUG_ON] Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Bug: 30369029 Patchset: kaslr-arm64-4.4 (cherry picked from commit a92405f082d43267575444a6927085e4c8a69e4e) Signed-off-by: Jeff Vander Stoep <jeffv@google.com> Change-Id: Ia5f206d9a2dbbdbfc3f05fe985d4eca309f0d889
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions