summaryrefslogtreecommitdiffstats
path: root/extras/vagrant/update.sh
diff options
context:
space:
mode:
authorBrian Brooks <brian.brooks@arm.com>2017-11-07 21:28:42 -0600
committerDamjan Marion <dmarion.lists@gmail.com>2017-11-10 22:26:10 +0000
commita3eb63c58543ca9a651692502805bf8272ed6d79 (patch)
tree727c8fd9c42edbc0130a0d811f3d93ba83c3efe0 /extras/vagrant/update.sh
parent375e468da3105ed33e164feb572e1c70d826307c (diff)
Map SVM regions at a sane offset on arm64
Mapping shared virtual memory at 0x30000000, which appears to be derived from x86-32, turns out to be too close to the heap on arm64 systems. The symptoms of memory corruption were random and included crashes in the Python runtime and what appeared to be corruption of malloc's internal mutex. Thanks to Gabriel Ganne for pointing out that disabling ASLR seemed to mitigate the situation. This patch maps SVM regions at an offset from the arm64 kernel constant TASK_UNMAPPED_BASE and also assumes a 48-bit VA (for Ubuntu). Change-Id: I642e5fe83344ab9b5c66c93e0cf1575c17251f3b Signed-off-by: Brian Brooks <brian.brooks@arm.com>
Diffstat (limited to 'extras/vagrant/update.sh')
0 files changed, 0 insertions, 0 deletions