cvs commit: src/sys/vm phys_pager.c
Konstantin Belousov
kib at FreeBSD.org
Sat Aug 18 09:40:34 PDT 2007
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
More information about the cvs-all
mailing list