qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 11/17] bsd-user: Replace set_brk and padzero with zerobss fro


From: Richard Henderson
Subject: Re: [PATCH 11/17] bsd-user: Replace set_brk and padzero with zerobss from linux-user
Date: Sun, 4 Aug 2024 21:38:47 +1000
User-agent: Mozilla Thunderbird

On 8/3/24 09:56, Warner Losh wrote:
The zero_bss interface from linux-user is much better at doing this. Use
it in preference to set_brk (badly named) and padzero. These both have
issues with the new variable page size code, so it's best to just retire
them and reuse the code from linux-user. Also start to use the error
reporting code that linux-user uses to give better error messages on
failure.

Signed-off-by: Warner Losh<imp@bsdimp.com>
---
  bsd-user/elfload.c | 110 +++++++++++++++++++++++----------------------
  1 file changed, 57 insertions(+), 53 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]