HomeFreeBSD

Introduce __read_frequently

Description

Introduce __read_frequently

While __read_mostly groups variables together, their placement is not
specified. In particular 2 frequently used variables can end up in
different lines.

This annotation is only expected to be used for variables read all the time,
e.g. on each syscall entry.

MFC after: 1 week

Details

Provenance
mjgAuthored on
Parents
rS323234: Start annotating global _padalign locks with __exclusive_cache_line
Branches
Unknown
Tags
Unknown