aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/device-tree/include/dt-bindings/soc/qcom,gpr.h
diff options
context:
space:
mode:
authorRyan Libby <rlibby@FreeBSD.org>2024-06-16 21:09:45 +0000
committerRyan Libby <rlibby@FreeBSD.org>2024-06-16 21:09:45 +0000
commit0dc98b57f321945b24a160282eb402bf0a6e4220 (patch)
treeec53189c2aba4241c110aa73b0290df0b021964a /sys/contrib/device-tree/include/dt-bindings/soc/qcom,gpr.h
parent83caa244bc9eef6949a1250a875ad1409775a46e (diff)
downloadsrc-main.tar.gz
src-main.zip
getblk: track "non-sterile" bufobj to avoid bo lock on miss if sterileHEADmain
This is a scheme to avoid taking the bufobj lock and doing a second lookup in the case where in getblk we do an unlocked lookup and find no buf. Was there really no buf, or were we in the middle of a reassignbuf race? By tracking any use of reassignbuf with a flag, we can know if there can't have been a race because there has been no reassignbuf. Because this scheme is spoiled on the first use of reassignbuf, it is mostly only beneficial for cases where a certain vnode is never expected to use dirty bufs at all. Reviewed by: kib Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D45571
Diffstat (limited to 'sys/contrib/device-tree/include/dt-bindings/soc/qcom,gpr.h')
0 files changed, 0 insertions, 0 deletions