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")

(cherry picked from commit 907257d6967dd23506e69042c55bb1edc983c0ba)

Details

Provenance
mjgAuthored on Jul 19 2021, 12:40 PM
Parents
rG5d95878e584d: pf: shrink struct pf_kstate
Branches
Unknown
Tags
Unknown