diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2021-12-13 19:16:38 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2021-12-16 19:58:07 +0100 |
commit | 15b5c1833afc80b952383502eb06529db2b26219 (patch) | |
tree | ebbbdfe1f1927647d2b06cf20dca6455624b7f5e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | fcfcba6dfc9a57da9c816667c20614ddfd4def10 (diff) |
s390/uv: fix memblock virtual vs physical address confusion
memblock_alloc_try_nid() returns a virtual address, however in error
case the allocated memory is incorrectly freed with memblock_phys_free().
Properly use memblock_free() instead, and pass a physical address to
uv_init() to fix this.
Note: this doesn't fix a bug currently, since virtual and physical
addresses are identical.
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions