Re: [PATCH v3] linux-user: Fix brk() to release pages

2023-03-07 Thread Laurent Vivier
Le 25/12/2022 à 09:23, Helge Deller a écrit : The current brk() implementation does not de-allocate pages if a lower address is given compared to earlier brk() calls. But according to the manpage, brk() shall deallocate memory in this case and currently it breaks a real-world application, specifi

[PATCH v3] linux-user: Fix brk() to release pages

2022-12-25 Thread Helge Deller
The current brk() implementation does not de-allocate pages if a lower address is given compared to earlier brk() calls. But according to the manpage, brk() shall deallocate memory in this case and currently it breaks a real-world application, specifically building the debian gcl package in qemu-us