Date: Tue, 7 Aug 2007 15:36:25 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm device_pager.c Message-ID: <200708071536.l77FaPje082976@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2007-08-07 15:36:25 UTC FreeBSD src repository Modified files: sys/vm device_pager.c Log: Protect the creation of the device pager with the dev_pager_mtx. Lookup of device pager in the pagers list by handle is now synchronized with its removal from the list, and dev_pager_mtx is put before vm object lock in lock order. Dispose the dev_pager_sx lock, since dev_pager_mtx now covers the same block. Noted by: kensmith Reviewed by: alc Approved by: re (kensmith) Revision Changes Path 1.83 +24 -12 src/sys/vm/device_pager.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708071536.l77FaPje082976>