summaryrefslogtreecommitdiff
path: root/usr.sbin/mtrace
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2023-04-18 22:00:20 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2023-04-18 22:00:20 +0000
commit9275ff7135dd9e0e3fd3b3eb510bed34dda0453e (patch)
tree609d8e622308e662516adc077e2c41b331561df4 /usr.sbin/mtrace
parent7aa8a26d4d5cd155b3763144929b4c6d8b8e4be8 (diff)
Document `ifnetlist' locking.
We use both kernel and net lock for protect `ifnetlist'. This means we do modification with both locks held, but for read-only access only one lock required. Some places doing `ifnetlist' foreach loop are protected by kernel lock and context switch can't be introduced there. This is the exception, so "XXXSMP:" comment added. Proposed and ok by bluhm@
Diffstat (limited to 'usr.sbin/mtrace')
0 files changed, 0 insertions, 0 deletions