HomeFreeBSD

Start annotating global _padalign locks with __exclusive_cache_line

Description

Start annotating global _padalign locks with __exclusive_cache_line

While these locks are guarnteed to not share their respective cache lines,
their current placement leaves unnecessary holes in lines which preceeded them.

For instance the annotation of vm_page_queue_free_mtx allows 2 neighbour
cachelines (previously separate by the lock) to be collapsed into 1.

The annotation is only effective on architectures which have it implemented in
their linker script (currently only amd64). Thus locks are not converted to
their not-padaligned variants as to not affect the rest.

MFC after: 1 week

Details

Provenance
mjgAuthored on
Parents
rS323233: bnxt: Update firmware header file with the latest one
Branches
Unknown
Tags
Unknown