On Fri, Jul 28, 2023 at 7:41 AM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 7/28/23 06:34, Richard Henderson wrote:
> > On 7/27/23 20:54, Warner Losh wrote:
> >> We're hitting an assert when we pass in alignment == 0 since that's not
> >> a power of two. so pass in the ideal page
On 7/28/23 06:34, Richard Henderson wrote:
On 7/27/23 20:54, Warner Losh wrote:
We're hitting an assert when we pass in alignment == 0 since that's not
a power of two. so pass in the ideal page size.
Signed-off-by: Warner Losh
---
bsd-user/mmap.c | 2 +-
1 file changed, 1 insertion(+), 1 de
On 7/27/23 20:54, Warner Losh wrote:
We're hitting an assert when we pass in alignment == 0 since that's not
a power of two. so pass in the ideal page size.
Signed-off-by: Warner Losh
---
bsd-user/mmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Richard Henderson
We're hitting an assert when we pass in alignment == 0 since that's not
a power of two. so pass in the ideal page size.
Signed-off-by: Warner Losh
---
bsd-user/mmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bsd-user/mmap.c b/bsd-user/mmap.c
index 74ed00b9fe3..e3ce4ab1