Re: [PATCH] accel/tcg: Drop PAGE_RESERVED for CONFIG_BSD

2022-12-20 Thread Warner Losh
On Tue, Dec 20, 2022 at 4:22 PM Richard Henderson < richard.hender...@linaro.org> wrote: > On 12/20/22 14:09, Warner Losh wrote: > > > > > > On Sat, Dec 17, 2022 at 11:48 AM Richard Henderson < > richard.hender...@linaro.org > > > wrote: > > > > Make bsd-us

Re: [PATCH] accel/tcg: Drop PAGE_RESERVED for CONFIG_BSD

2022-12-20 Thread Richard Henderson
On 12/20/22 14:09, Warner Losh wrote: On Sat, Dec 17, 2022 at 11:48 AM Richard Henderson > wrote: Make bsd-user match linux-user in not marking host pages as reserved.  This isn't especially effective anyway, as it doesn't take into account any

Re: [PATCH] accel/tcg: Drop PAGE_RESERVED for CONFIG_BSD

2022-12-20 Thread Alex Bennée
Richard Henderson writes: > Make bsd-user match linux-user in not marking host pages > as reserved. This isn't especially effective anyway, as > it doesn't take into account any heap memory that qemu > may allocate after startup. > > Cc: Warner Losh > Signed-off-by: Richard Henderson Review

Re: [PATCH] accel/tcg: Drop PAGE_RESERVED for CONFIG_BSD

2022-12-20 Thread Philippe Mathieu-Daudé
On 20/12/22 20:31, Richard Henderson wrote: On 12/17/22 10:48, Richard Henderson wrote: Make bsd-user match linux-user in not marking host pages as reserved.  This isn't especially effective anyway, as it doesn't take into account any heap memory that qemu may allocate after startup. Cc: Warner

Re: [PATCH] accel/tcg: Drop PAGE_RESERVED for CONFIG_BSD

2022-12-20 Thread Warner Losh
On Sat, Dec 17, 2022 at 11:48 AM Richard Henderson < richard.hender...@linaro.org> wrote: > Make bsd-user match linux-user in not marking host pages > as reserved. This isn't especially effective anyway, as > it doesn't take into account any heap memory that qemu > may allocate after startup. > >

Re: [PATCH] accel/tcg: Drop PAGE_RESERVED for CONFIG_BSD

2022-12-20 Thread Richard Henderson
On 12/17/22 10:48, Richard Henderson wrote: Make bsd-user match linux-user in not marking host pages as reserved. This isn't especially effective anyway, as it doesn't take into account any heap memory that qemu may allocate after startup. Cc: Warner Losh Signed-off-by: Richard Henderson ---

[PATCH] accel/tcg: Drop PAGE_RESERVED for CONFIG_BSD

2022-12-17 Thread Richard Henderson
Make bsd-user match linux-user in not marking host pages as reserved. This isn't especially effective anyway, as it doesn't take into account any heap memory that qemu may allocate after startup. Cc: Warner Losh Signed-off-by: Richard Henderson --- I started to simply fix up this code to match