]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cred: add a prediction to crfree for td->td_realucred == cr
authorMateusz Guzik <mjg@FreeBSD.org>
Thu, 2 Jul 2020 12:58:07 +0000 (12:58 +0000)
committerMateusz Guzik <mjg@FreeBSD.org>
Thu, 2 Jul 2020 12:58:07 +0000 (12:58 +0000)
commita2de789ebb804374bac13ef2931158c364c2774a
tree5cc3dc7272c98609513911869cfe52bc08a19acd
parentd23850207ba79556065a8d9429c5d8a60ca25931
cred: add a prediction to crfree for td->td_realucred == cr

This matches crhold and eliminates an assembly maze in the common case.
sys/kern/kern_prot.c