Record kqueue -> struct mount mtx -> vnode interlock lock order to

catch the places where reverse lock order is instantiated.

OKed by:	jeff
This commit is contained in:
Konstantin Belousov 2007-02-02 09:02:18 +00:00
parent b4bb515484
commit e6a4f4cd40

View File

@ -369,6 +369,13 @@ static struct witness_order_list_entry order_lists[] = {
{ "vnode interlock", &lock_class_mtx_sleep },
{ "cdev", &lock_class_mtx_sleep },
{ NULL, NULL },
/*
* kqueue/VFS interaction
*/
{ "kqueue", &lock_class_mtx_sleep },
{ "struct mount mtx", &lock_class_mtx_sleep },
{ "vnode interlock", &lock_class_mtx_sleep },
{ NULL, NULL },
/*
* spin locks
*/