[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 23:07:47 UTC

--- Comment #31 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Alexander Motin from comment #30)
> The case of "addr & PAGE_MASK is 2048 and len is 4096" can fit into this only if it is the only chunk in ABD, but then it should be a linear buffer, not requiring unmapped I/O.

The problem exists whenever len is a multiple of the page size, so I don't see
why it should always be a linear buffer.  But indeed, I'd expect I/O to a
device with ashift=12 to always be page aligned.

> But still, just in case, what would you say about this patch:

Looks right to me, thanks.

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