diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2021-12-13 21:16:38 +0300 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2021-12-16 21:58:07 +0300 |
| commit | 15b5c1833afc80b952383502eb06529db2b26219 (patch) | |
| tree | ebbbdfe1f1927647d2b06cf20dca6455624b7f5e /lib/mpi/mpi-sub-ui.c | |
| parent | fcfcba6dfc9a57da9c816667c20614ddfd4def10 (diff) | |
| download | linux-15b5c1833afc80b952383502eb06529db2b26219.tar.xz | |
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 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
