Date: Mon, 29 Dec 2008 12:45:11 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/compat/linprocfs linprocfs.c src/sys/fs/procfs procfs_map.c src/sys/kern kern_proc.c Message-ID: <200812291245.mBTCjufY058369@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2008-12-29 12:45:11 UTC
FreeBSD src repository
Modified files:
sys/compat/linprocfs linprocfs.c
sys/fs/procfs procfs_map.c
sys/kern kern_proc.c
Log:
SVN rev 186563 on 2008-12-29 12:45:11Z by kib
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
Revision Changes Path
1.133 +1 -1 src/sys/compat/linprocfs/linprocfs.c
1.49 +1 -1 src/sys/fs/procfs/procfs_map.c
1.277 +2 -2 src/sys/kern/kern_proc.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812291245.mBTCjufY058369>
