On Wed, Aug 16, 2023 at 11:14:31AM -0700, Richard Henderson wrote:
> Based-on: 20230816180338.572576-1-richard.henderson@linaro.org
> ("[PATCH v4 00/18] linux-user: Implement VDSOs")
>
> As promised, a rewrite of /proc/self/{maps,smaps} emulation
> using interval trees.
>
> Incorporate Helge's change to mark [heap], and also mark [vdso].
>
>
> r~
>
>
> Richard Henderson (6):
> util/selfmap: Use dev_t and ino_t in MapInfo
> linux-user: Use walk_memory_regions for open_self_maps
> linux-user: Adjust brk for load_bias
> linux-user: Show heap address in /proc/pid/maps
> linux-user: Remove ELF_START_MMAP and image_info.start_mmap
> linux-user: Show vdso address in /proc/pid/maps
>
> include/qemu/selfmap.h | 4 +-
> linux-user/qemu.h | 2 +-
> linux-user/elfload.c | 41 +--------
> linux-user/syscall.c | 194 +++++++++++++++++++++++++----------------
> util/selfmap.c | 12 +--
> 5 files changed, 131 insertions(+), 122 deletions(-)
>
> --
> 2.34.1
As expected, this improved the situation with mappings on ppc64le.
Handling the errors from read_self_maps() is also a nice addition.
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>