Hard code witness lock order for BPF locks.

This commit is contained in:
Robert Watson 2004-09-09 05:01:37 +00:00
parent 46448b5a1b
commit 030c6fb156

View File

@ -322,6 +322,13 @@ static struct witness_order_list_entry order_lists[] = {
{ "ddp_list_mtx", &lock_class_mtx_sleep },
{ "ddp_mtx", &lock_class_mtx_sleep },
{ NULL, NULL },
/*
* BPF
*/
{ "bpf global lock", &lock_class_mtx_sleep },
{ "bpf interface lock", &lock_class_mtx_sleep },
{ "bpf cdev lock", &lock_class_mtx_sleep },
{ NULL, NULL },
/*
* spin locks
*/