Date: Sat, 18 Aug 2007 16:40:33 +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 phys_pager.c Message-ID: <200708181640.l7IGeYH8047645@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2007-08-18 16:40:33 UTC FreeBSD src repository Modified files: sys/vm phys_pager.c Log: Fix the phys_pager in the way similar to the rev. 1.83 of the sys/vm/device_pager.c: Protect the creation of the phys pager with non-NULL handle with the phys_pager_mtx. Lookup of phys pager in the pagers list by handle is now synchronized with its removal from the list, and phys_pager_mtx is put before vm object lock in lock order. Dispose the phys_pager_alloc_lock and tsleep calls, together with acquiring Giant, since phys_pager_mtx now covers the same block. Reviewed by: alc Approved by: re (kensmith) Revision Changes Path 1.28 +25 -22 src/sys/vm/phys_pager.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708181640.l7IGeYH8047645>