HomeFreeBSD

Deinline racct throttling out of syscall exit path.

Description

Deinline racct throttling out of syscall exit path.

racct is not enabled by default and even when it is enabled processes are
typically not throttled. The order of checks is left unchanged since
racct_enable will be annotated as __read_frequently, while checking for the
flag in the processes would probably require an extra fetch.

Sponsored by: The FreeBSD Foundation

Details

Provenance
mjgAuthored on
Parents
rS341180: Annotate td_cowgen check as unlikely.
Branches
Unknown
Tags
Unknown