qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] linux-user: Fix static armhf binaries and optmize memory layout
@ 2023-07-27  7:05 Helge Deller
  2023-07-27  7:05 ` [PATCH v4 1/3] linux-user: Show heap address in /proc/pid/maps Helge Deller
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Helge Deller @ 2023-07-27  7:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: Richard Henderson, Laurent Vivier, Paolo Bonzini, Helge Deller

This patch series:
- fixes qemu-arm to run static armhf binaries
- shows address of heap in /proc/pid/maps output for all architectures
- optimizes address layout of loaded executable
- increases free heap for guest apps

NOTE:
- this patch series is for qemu v8.1.0-rc ONLY.
- do not apply on top of v8.0-stable series, as those use
  a different search algorithm for free mmap memory
  and thus will give improper memory layouts.

It can be pulled from here:
https://github.com/hdeller/qemu-hppa/tree/brk-fixes-2

Changes
v4:
- add note that patch series is for v8.1.0-rc only
- changed TASK_UNMAPPED_BASE for 32- on 64-bit userspace

Helge Deller (3):
  linux-user: Show heap address in /proc/pid/maps
  linux-user: Optimize memory layout for static and dynamic executables
  linux-user: Load pie executables at upper memory

 include/exec/cpu_ldst.h |  4 +--
 linux-user/elfload.c    | 59 +++++++++++++----------------------------
 linux-user/loader.h     | 12 +++++++++
 linux-user/main.c       |  1 +
 linux-user/mmap.c       | 14 +---------
 linux-user/qemu.h       |  4 +--
 linux-user/syscall.c    |  8 ++++--
 7 files changed, 43 insertions(+), 59 deletions(-)

--
2.41.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-07-27  8:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-27  7:05 [PATCH v4 0/3] linux-user: Fix static armhf binaries and optmize memory layout Helge Deller
2023-07-27  7:05 ` [PATCH v4 1/3] linux-user: Show heap address in /proc/pid/maps Helge Deller
2023-07-27  7:06 ` [PATCH v4 2/3] linux-user: Optimize memory layout for static and dynamic executables Helge Deller
2023-07-27  7:06 ` [PATCH v4 3/3] linux-user: Load pie executables at upper memory Helge Deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).