diff options
author | alc <alc@FreeBSD.org> | 2003-08-23 06:52:32 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2003-08-23 06:52:32 +0000 |
commit | 06fbefe190e0ae8a0c89a80fbd6c80183f7e06e1 (patch) | |
tree | 44682ab860f018edce772bcd663f7d2b161b895e /sys/kern/kern_timeout.c | |
parent | edbda376e130a72c3d04ba2863f7f2772ac1175e (diff) | |
download | FreeBSD-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