[Bug 262894] Kernel Panic (page fault) with 13.1-BETA2 in g_eli & httpd

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 18 Apr 2022 20:57:16 UTC

--- Comment #28 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Alexander Motin from comment #26)
BTW, the loop in vdev_geom_fill_unmap_cb() looks wrong to me when (addr &
PAGE_MASK) != 0.  Suppose addr & PAGE_MASK is 2048 and len is 4096.  Then we
want two pages in the array, but it looks like the loop will exit after the
first iteration.  I think we need to set addr &= ~PAGE_MASK before the loop, or
I am missing something.

I'm not sure when non-page-aligned ABD buffers can arise in practice though.

You are receiving this mail because:
You are the assignee for the bug.