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

2025-03-08 Thread Warner Losh
On Sat, Mar 8, 2025 at 5:28 AM Philippe Mathieu-Daudé wrote: > Massage target_mmap(): calculate alignment once, then > unconditionally call mmap_find_vma_aligned(). > > Reviewed-by: Richard Henderson > Signed-off-by: Philippe Mathieu-Daudé > --- > bsd-user/mmap.c | 9 - > 1 file change

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

2025-03-08 Thread Philippe Mathieu-Daudé
Massage target_mmap(): calculate alignment once, then unconditionally call mmap_find_vma_aligned(). Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- bsd-user/mmap.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/bsd-user/mmap.c b/bsd-user/mm