Re: [PATCH 0/5] linux-user: brk/mmap fixes

2023-08-02 Thread Helge Deller
On 8/2/23 09:26, Akihiko Odaki wrote: On 2023/08/01 19:43, Helge Deller wrote: On 8/1/23 06:49, Joel Stanley wrote: On Mon, 31 Jul 2023 at 18:24, Helge Deller wrote: As suggested, I've based my patches on top of yours and the tree can be pulled from: git pull https://github.com/hdeller/qemu-h

Re: [PATCH 0/5] linux-user: brk/mmap fixes

2023-08-02 Thread Akihiko Odaki
On 2023/08/01 19:43, Helge Deller wrote: On 8/1/23 06:49, Joel Stanley wrote: On Mon, 31 Jul 2023 at 18:24, Helge Deller wrote: As suggested, I've based my patches on top of yours and the tree can be pulled from: git pull https://github.com/hdeller/qemu-hppa/   brk-fixes-akihiko-2 My patches

Re: [PATCH 0/5] linux-user: brk/mmap fixes

2023-08-01 Thread Helge Deller
On 8/1/23 06:49, Joel Stanley wrote: On Mon, 31 Jul 2023 at 18:24, Helge Deller wrote: As suggested, I've based my patches on top of yours and the tree can be pulled from: git pull https://github.com/hdeller/qemu-hppa/ brk-fixes-akihiko-2 My patches are neccessary to fix an arm-static testca

Re: [PATCH 0/5] linux-user: brk/mmap fixes

2023-07-31 Thread Joel Stanley
On Mon, 31 Jul 2023 at 18:24, Helge Deller wrote: > > I re-read the thread again. As it seems Joel already tried the latest > > version from me? Sadly I can't test myself on ppc64le (static binary > > needs klibc-PupSAGgtpafMlSLXOLgje1kXFo8.so in /usr/lib which I can't > > install on a debian por

Re: [PATCH 0/5] linux-user: brk/mmap fixes

2023-07-31 Thread Helge Deller
On 7/31/23 19:43, Helge Deller wrote: On 7/31/23 18:47, Helge Deller wrote: On 7/31/23 12:23, Akihiko Odaki wrote: On 2023/07/31 19:17, Joel Stanley wrote: On Mon, 31 Jul 2023 at 09:31, Michael Tokarev wrote: 31.07.2023 11:03, Akihiko Odaki wrote: linux-user was failing on M2 MacBook Air.

Re: [PATCH 0/5] linux-user: brk/mmap fixes

2023-07-31 Thread Helge Deller
On 7/31/23 18:47, Helge Deller wrote: On 7/31/23 12:23, Akihiko Odaki wrote: On 2023/07/31 19:17, Joel Stanley wrote: On Mon, 31 Jul 2023 at 09:31, Michael Tokarev wrote: 31.07.2023 11:03, Akihiko Odaki wrote: linux-user was failing on M2 MacBook Air. Digging into the details, I found sever

Re: [PATCH 0/5] linux-user: brk/mmap fixes

2023-07-31 Thread Helge Deller
On 7/31/23 12:23, Akihiko Odaki wrote: On 2023/07/31 19:17, Joel Stanley wrote: On Mon, 31 Jul 2023 at 09:31, Michael Tokarev wrote: 31.07.2023 11:03, Akihiko Odaki wrote: linux-user was failing on M2 MacBook Air. Digging into the details, I found several bugs in brk and mmap so here are fix

Re: [PATCH 0/5] linux-user: brk/mmap fixes

2023-07-31 Thread Akihiko Odaki
On 2023/07/31 19:17, Joel Stanley wrote: On Mon, 31 Jul 2023 at 09:31, Michael Tokarev wrote: 31.07.2023 11:03, Akihiko Odaki wrote: linux-user was failing on M2 MacBook Air. Digging into the details, I found several bugs in brk and mmap so here are fixes. There's another work in this area

Re: [PATCH 0/5] linux-user: brk/mmap fixes

2023-07-31 Thread Joel Stanley
On Mon, 31 Jul 2023 at 09:31, Michael Tokarev wrote: > > 31.07.2023 11:03, Akihiko Odaki wrote: > > linux-user was failing on M2 MacBook Air. Digging into the details, I found > > several bugs in brk and mmap so here are fixes. > > There's another work in this area by Helge Deller, have you seen i

Re: [PATCH 0/5] linux-user: brk/mmap fixes

2023-07-31 Thread Michael Tokarev
31.07.2023 11:03, Akihiko Odaki wrote: linux-user was failing on M2 MacBook Air. Digging into the details, I found several bugs in brk and mmap so here are fixes. There's another work in this area by Helge Deller, have you seen it? ("linux-user: Fix and optimize target memory layout", a v5 alre

[PATCH 0/5] linux-user: brk/mmap fixes

2023-07-31 Thread Akihiko Odaki
linux-user was failing on M2 MacBook Air. Digging into the details, I found several bugs in brk and mmap so here are fixes. Akihiko Odaki (5): linux-user: Unset MAP_FIXED_NOREPLACE for host linux-user: Do not call get_errno() in do_brk() linux-user: Use MAP_FIXED_NOREPLACE for do_brk() lin