mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Expand the hard-coded WITNESS lock order to include the following
relationships: Sockets: filedesc->accept->sellck Routing: radix node head->rtentry->ifaddr UDP: udp->udpinp TCP: tcp->tcpinp SLIP: slip_mtx->slip sc_mtx Drop in a place holder section for UNIX domain sockets. Various sections to be expanded over the next few days.
This commit is contained in:
parent
d77f297fd6
commit
d97e0534fa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130022
@ -267,6 +267,41 @@ static struct witness_order_list_entry order_lists[] = {
|
||||
{ "uidinfo struct", &lock_class_mtx_sleep },
|
||||
{ "allprison", &lock_class_mtx_sleep },
|
||||
{ NULL, NULL },
|
||||
/*
|
||||
* Sockets
|
||||
*/
|
||||
{ "filedesc structure", &lock_class_mtx_sleep },
|
||||
{ "accept", &lock_class_mtx_sleep },
|
||||
{ "sellck", &lock_class_mtx_sleep },
|
||||
{ NULL, NULL },
|
||||
/*
|
||||
* Routing
|
||||
*/
|
||||
{ "radix node head", &lock_class_mtx_sleep },
|
||||
{ "rtentry", &lock_class_mtx_sleep },
|
||||
{ "ifaddr", &lock_class_mtx_sleep },
|
||||
{ NULL, NULL },
|
||||
/*
|
||||
* UNIX Domain Sockets
|
||||
*/
|
||||
{ NULL, NULL },
|
||||
/*
|
||||
* UDP/IP
|
||||
*/
|
||||
{ "udp", &lock_class_mtx_sleep },
|
||||
{ "udpinp", &lock_class_mtx_sleep },
|
||||
{ NULL, NULL },
|
||||
/*
|
||||
* TCP/IP
|
||||
*/
|
||||
{ "tcp", &lock_class_mtx_sleep },
|
||||
{ "tcpinp", &lock_class_mtx_sleep },
|
||||
{ NULL, NULL },
|
||||
/*
|
||||
* SLIP
|
||||
*/
|
||||
{ "slip_mtx", &lock_class_mtx_sleep },
|
||||
{ "slip sc_mtx", &lock_class_mtx_sleep },
|
||||
/*
|
||||
* spin locks
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user