]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC 272550:
authorbryanv <bryanv@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 8 Oct 2014 04:11:05 +0000 (04:11 +0000)
committerbryanv <bryanv@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 8 Oct 2014 04:11:05 +0000 (04:11 +0000)
commit2bc4755d9cc266848d6b44ac87f9b7fee1140bc1
tree98e99a940e4579e882809d6224f0260ee6f21815
parent171ca02eebc5885eee1db30ae89457aa433977ad
MFC 272550:

  Remove stray uma_mtx lock/unlock in zone_drain_wait()

  Callers of zone_drain_wait(M_WAITOK) do not need to hold (and were not)
  the uma_mtx, but we would attempt to unlock and relock the mutex if we
  had to sleep because the zone was already draining. The M_NOWAIT callers
  may hold the uma_mtx, but we do not sleep in that case.

git-svn-id: svn://svn.freebsd.org/base/stable/9@272723 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/vm/uma_core.c