]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (16 of many)
authorkaktus <kaktus@FreeBSD.org>
Tue, 25 Feb 2020 19:04:39 +0000 (19:04 +0000)
committerkaktus <kaktus@FreeBSD.org>
Tue, 25 Feb 2020 19:04:39 +0000 (19:04 +0000)
commit4b01601205c5158c4a62d7dc6c25956e453de2dd
treee7fc703d2e9d9a98e79be43e6f257e573ab3d19f
parent650ab02d61a410c7dbccd3990b8f614e3f79e054
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (16 of many)

r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are
still not MPSAFE (or already are but aren’t properly marked).
Use it in preparation for a general review of all nodes.

This is non-functional change that adds annotations to SYSCTL_NODE and
SYSCTL_PROC nodes using one of the soon-to-be-required flags.

Mark all obvious cases as MPSAFE.

Reviewed by: royger
Approved by: kib (mentor, blanket)
Differential Revision: https://reviews.freebsd.org/D23638
sys/dev/xen/balloon/balloon.c
sys/dev/xen/blkfront/blkfront.c
sys/dev/xen/netback/netback.c
sys/dev/xen/xenstore/xenstore.c
sys/xen/xenbus/xenbusb.c