aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVincenzo Frascino <[email protected]>2019-04-01 12:30:14 +0100
committerWill Deacon <[email protected]>2019-04-10 17:38:12 +0100
commitd263119387de9975d2acba1dfd3392f7c5979c18 (patch)
tree78575ce5fe60109c5702ee43f697065126bfae46 /tools/perf/scripts/python/export-to-postgresql.py
parent827a108e354db633698f0b4a10c1ffd2b1f8d1d0 (diff)
arm64: compat: Reduce address limit
Currently, compat tasks running on arm64 can allocate memory up to TASK_SIZE_32 (UL(0x100000000)). This means that mmap() allocations, if we treat them as returning an array, are not compliant with the sections 6.5.8 of the C standard (C99) which states that: "If the expression P points to an element of an array object and the expression Q points to the last element of the same array object, the pointer expression Q+1 compares greater than P". Redefine TASK_SIZE_32 to address the issue. Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Cc: Jann Horn <[email protected]> Cc: <[email protected]> Reported-by: Jann Horn <[email protected]> Signed-off-by: Vincenzo Frascino <[email protected]> [will: fixed typo in comment] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions