summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2024-12-04 22:24:12 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2024-12-04 22:24:12 +0000
commit83dfc14f8e91ac74d8980c8edf888dfefdb6dca0 (patch)
treebf43eca32b8d2e870dbc2fcafb543929cca69d48 /sys/arch/powerpc
parent5c0cccb888ab2732488489247261a1858b0276e9 (diff)
Push locking down to icmp_sysctl().HEADmastercvs/HEAD
Keep locking only for ICMPCTL_REDIRTIMEOUT case. It is complicated, so left it as is. ICMPCTL_STATS loads per-CPU counters into local data, so no locking required. `icmpctl_vars' are atomically accessed integers. Except `icmperrppslim' they are simply booleans, so nothing special required. Used the local `icmperrppslim_local' variable to load `icmperrppslim' value because it it could have negative values. claudio@ proposed to always load such values to local variables, so I want to try this notation. ok bluhm
Diffstat (limited to 'sys/arch/powerpc')
0 files changed, 0 insertions, 0 deletions