Date: Mon, 27 Jun 2022 17:08:05 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 263008] smartpqi: panic: malloc(M_WAITOK) with sleeping prohibited Message-ID: <bug-263008-227-MLFJN9Opvz@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-263008-227@https.bugs.freebsd.org/bugzilla/> References: <bug-263008-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263008 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Df4497b9f77795ece4d2f2fad4c0329d82= d53bc63 commit f4497b9f77795ece4d2f2fad4c0329d82d53bc63 Author: Yuri <yuri@aetern.org> AuthorDate: 2022-06-27 15:48:31 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-06-27 17:06:31 +0000 smartpqi: Allocate DMA memory NOWAIT We're not allowed to wait in this allocation path, so allocate the memory NOWAIT instead of WAITOK. The code already copes with the failures that may result, so no additional code is needed. PR: 263008 Reviewed by: markj, Scott Benesh at Microsemi, imp Differential Revision: https://reviews.freebsd.org/D35601 sys/dev/smartpqi/smartpqi_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263008-227-MLFJN9Opvz>