]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
smartpqi: Allocate DMA memory NOWAIT
authorYuri <yuri@aetern.org>
Mon, 27 Jun 2022 15:48:31 +0000 (09:48 -0600)
committerWarner Losh <imp@FreeBSD.org>
Mon, 27 Jun 2022 17:06:31 +0000 (11:06 -0600)
commitf4497b9f77795ece4d2f2fad4c0329d82d53bc63
treec87ff078c6b3032f7d3335dd4ac2cd2995e8e8f3
parent121ecca0d82b4a5ccee1a8bb01e50b026a22bb3f
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