HomeFreeBSD

pf: embed a pointer to the lock in struct pf_kstate

Description

pf: embed a pointer to the lock in struct pf_kstate

This shaves calculation which in particular helps on arm.

Note using the & hack instead would still be more work.

Reviewed by: kp
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
mjgAuthored on Jul 19 2021, 12:40 PM
Parents
rGb972a7fa9e1e: pf: fix LINT build
Branches
Unknown
Tags
Unknown