Re: [PATCH v3 1/3] bsd-user: Always use mmap_find_vma_aligned() in target_mmap()

2025-03-09 Thread Warner Losh
On Fri, Mar 7, 2025 at 6:09 AM Philippe Mathieu-Daudé wrote: > Massage target_mmap(): calculate alignment once, then > unconditionally call mmap_find_vma_aligned(). > > Signed-off-by: Philippe Mathieu-Daudé > --- > bsd-user/mmap.c | 11 ++- > 1 file changed, 6 insertions(+), 5 deletions

[PATCH v3 1/3] bsd-user: Always use mmap_find_vma_aligned() in target_mmap()

2025-03-07 Thread Philippe Mathieu-Daudé
Massage target_mmap(): calculate alignment once, then unconditionally call mmap_find_vma_aligned(). Signed-off-by: Philippe Mathieu-Daudé --- bsd-user/mmap.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/bsd-user/mmap.c b/bsd-user/mmap.c index 346f2cefd32..28d7e

Re: [PATCH v3 1/3] bsd-user: Always use mmap_find_vma_aligned() in target_mmap()

2025-03-07 Thread Richard Henderson
On 3/7/25 05:09, Philippe Mathieu-Daudé wrote: Massage target_mmap(): calculate alignment once, then unconditionally call mmap_find_vma_aligned(). Signed-off-by: Philippe Mathieu-Daudé --- bsd-user/mmap.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/bsd-use