]> git.ipfire.org Git - thirdparty/qemu.git/commit
bsd-user: Propagate alignment argument to mmap_find_vma()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 7 Mar 2025 12:47:21 +0000 (13:47 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 9 Mar 2025 13:54:32 +0000 (14:54 +0100)
commit84d66261bef3cdfea3bd1fb052a7ba38abb34b18
treefe24c81b2dfdf6fe723849bf42edbb9a01849d4d
parent019b4e84eda27a006f94ed0faa024babd0a97e97
bsd-user: Propagate alignment argument to mmap_find_vma()

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é <philmd@linaro.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Message-Id: <20250308122842.76377-3-philmd@linaro.org>
bsd-user/bsd-mem.h
bsd-user/mmap.c
bsd-user/qemu.h