cvs commit: src/sys/vm device_pager.c

Konstantin Belousov kib at
Tue Aug 7 08:36:25 PDT 2007

kib         2007-08-07 15:36:25 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               device_pager.c 
  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

More information about the cvs-src mailing list