freebsd-skq/sys/contrib/libnv
Kristof Provost ab8d25880e libnv: Allow use in non-sleepable contexts
44c125c4ce switched the nvlist allocations
to be M_WAITOK, but this precludes the use in non-sleepable contexts.
(E.g. with a nonsleepable lock held).

All callers for these allocation functions already cope with memory
alloation failures, so there's no reason to allow sleeping during
allocations.

Reviewed by:	melifaro, oshogbo
MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D29556
2021-04-07 15:54:10 +02:00
..
bsd_nvpair.c Rename nvpair.c to bsd_nvpair.c to not conflict with openzfs' version. 2020-06-27 00:55:03 +00:00
cnvlist.c
dnvlist.c
nv_impl.h libnv: Allow use in non-sleepable contexts 2021-04-07 15:54:10 +02:00
nvlist_impl.h
nvlist.c The nvlist_report_missing is also used by the cnvlist. 2019-04-11 04:24:41 +00:00
nvpair_impl.h