diff options
author | kib <kib@FreeBSD.org> | 2008-12-29 12:45:11 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2008-12-29 12:45:11 +0000 |
commit | bd5d614be80b38952e55e5516853af28f99d108d (patch) | |
tree | 3e48d98f96707e37fafe396ec8c27fa0b15ef680 /sys/kern/kern_sysctl.c | |
parent | 76cd718eec26d0dbb71704e2a179ab96d9c6527d (diff) | |
download | FreeBSD-src-bd5d614be80b38952e55e5516853af28f99d108d.zip FreeBSD-src-bd5d614be80b38952e55e5516853af28f99d108d.tar.gz |
vm_map_lock_read() does not increment map->timestamp, so we should
compare map->timestamp with saved timestamp after map read lock is
reacquired, not with saved timestamp + 1. The only consequence of the +1
was unconditional lookup of the next map entry, though.
Tested by: pho
Approved by: des
MFC after: 2 weeks
Diffstat (limited to 'sys/kern/kern_sysctl.c')
0 files changed, 0 insertions, 0 deletions