Re: [PATCH v4 2/3] bsd-user: Propagate alignment argument to mmap_find_vma()

2025-03-08 Thread Warner Losh
On Sat, Mar 8, 2025 at 5:28 AM Philippe Mathieu-Daudé wrote: > Propagate the alignment to mmap_find_vma(), effectively > embedding mmap_find_vma_aligned() within mmap_find_vma(). > > Add a comment in do_bsd_shmat() to clarify alignment above > page size is not required. > > Signed-off-by: Philipp

[PATCH v4 2/3] bsd-user: Propagate alignment argument to mmap_find_vma()

2025-03-08 Thread Philippe Mathieu-Daudé
Propagate the alignment to mmap_find_vma(), effectively embedding mmap_find_vma_aligned() within mmap_find_vma(). Add a comment in do_bsd_shmat() to clarify alignment above page size is not required. Signed-off-by: Philippe Mathieu-Daudé --- bsd-user/bsd-mem.h | 4 +++- bsd-user/qemu.h| 2