]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vm: Add missing WITNESS warnings for M_WAITOK allocation
authorConrad Meyer <cem@FreeBSD.org>
Mon, 29 Jun 2020 16:54:00 +0000 (16:54 +0000)
committerConrad Meyer <cem@FreeBSD.org>
Mon, 29 Jun 2020 16:54:00 +0000 (16:54 +0000)
commit8a64110e43367d08f3bf00e690fb634ad4e9e22f
treeb2196cc7f37d861ec76ce767e6ce087f4c511fc2
parentac2adfb86dd0816c99135bf4885515a6b4ba9232
vm: Add missing WITNESS warnings for M_WAITOK allocation

vm_map_clip_{end,start} and lookup_clip_start allocate memory M_WAITOK
for !system_map vm_maps.  Add WITNESS warning annotation for !system_map
callers who may be holding non-sleepable locks.

Reviewed by: markj
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D25283
sys/vm/vm_map.c