diff options
author | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2024-12-04 22:24:12 +0000 |
---|---|---|
committer | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2024-12-04 22:24:12 +0000 |
commit | 83dfc14f8e91ac74d8980c8edf888dfefdb6dca0 (patch) | |
tree | bf43eca32b8d2e870dbc2fcafb543929cca69d48 /sys/arch/powerpc | |
parent | 5c0cccb888ab2732488489247261a1858b0276e9 (diff) |
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