[Bug 274252] sys/vm: less-than-ideal handling of memory requests that cannot be fulfilled

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 06 Oct 2023 23:46:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274252

--- Comment #2 from Kyle Evans <kevans@freebsd.org> ---
(In reply to Jason A. Harmening from comment #1)

IIRC from the last time I debugged this, we actually get stuck just inside @
kmem_alloc_contig_domainset. kmem_alloc_contig_domain() does fail, but it's an
M_WAITOK allocation so vm_domainset_iter_policy() just keeps restarting the
search and we never break out. There's currently no way for, e.g.,
kmem_alloc_contig_domain() -> kmem_alloc_contig_pages() ->
vm_page_alloc_contig_domain() to differentiate between a transient failure
condition and an impossible request.

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