summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_timeout.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2003-08-23 06:52:32 +0000
committeralc <alc@FreeBSD.org>2003-08-23 06:52:32 +0000
commit06fbefe190e0ae8a0c89a80fbd6c80183f7e06e1 (patch)
tree44682ab860f018edce772bcd663f7d2b161b895e /sys/kern/kern_timeout.c
parentedbda376e130a72c3d04ba2863f7f2772ac1175e (diff)
downloadFreeBSD-src-06fbefe190e0ae8a0c89a80fbd6c80183f7e06e1.zip
FreeBSD-src-06fbefe190e0ae8a0c89a80fbd6c80183f7e06e1.tar.gz
To implement the sequential access optimization, vm_fault() may need to
reacquire the "first" object's lock while a backing object's lock is held. Since this is a lock-order reversal, vm_fault() uses trylock to acquire the first object's lock, skipping the sequential access optimization in the unlikely event that the trylock fails.
Diffstat (limited to 'sys/kern/kern_timeout.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud