K 10 svn:author V 2 kp K 8 svn:date V 27 2021-04-14T13:10:00.663930Z K 7 svn:log V 685 libnv: Allow use in non-sleepable contexts 44c125c4cebc2fd87c6260b90eddae11201f5232 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 (cherry picked from commit ab8d25880ebc9ddca1ae6af938680036349edf3f) Git Hash: e1d7503d6cf7ff18f29e7b3b0a8a3525b43414b8 Git Author: kp@FreeBSD.org END