HomeFreeBSD

vm: annotate swap_reserved with __exclusive_cache_line

Description

vm: annotate swap_reserved with __exclusive_cache_line

The counter keeps being updated all the time and variables read afterwards
share the cacheline. Note this still fundamentally does not scale and needs
to be replaced, in the meantime gets a bandaid.

brk1_processes -t 52 ops/s:
before: 8598298
after: 9098080

Details

Provenance
mjgAuthored on
Parents
rS363443: tuntap: drop redundant if_mtu assignment in tuncreate
Branches
Unknown
Tags
Unknown