"panic: malloc(M_WAITOK) in non-sleepable context" after r364296 -> r364341
David Wolfskill
david at catwhisker.org
Tue Aug 18 12:58:28 UTC 2020
On Tue, Aug 18, 2020 at 02:48:47PM +0200, Mateusz Guzik wrote:
> see https://reviews.freebsd.org/D26027
> ....
Right; I was just reviewing the list of updated files and noted
src/sys/kern/kern_malloc.c, and its svn log showed:
------------------------------------------------------------------------
r364310 | glebius | 2020-08-17 08:37:08 -0700 (Mon, 17 Aug 2020) | 8
lines
With INVARIANTS panic immediately if M_WAITOK is requested in a
non-sleepable context. Previously only _sleep() would panic.
This will catch misuse of M_WAITOK at development stage rather
than at stress load stage.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D26027
------------------------------------------------------------------------
And if we were still going in to the office, I'd discuss it with Gleb. :-)
But in the mean time: I'm not a committer; I didn't cause the error.
Seems I can't try running head now with a GENERIC kernel.
Peace,
david
--
David H. Wolfskill david at catwhisker.org
Donald Trump is either ignorant of how to govern or is refusing to do so.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20200818/2f942f60/attachment.sig>
More information about the freebsd-current
mailing list