]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 272550:
authorbryanv <bryanv@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 8 Oct 2014 04:34:46 +0000 (04:34 +0000)
committerbryanv <bryanv@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 8 Oct 2014 04:34:46 +0000 (04:34 +0000)
commitc908156f2578f149f4407a76d6142ff9dfc5f21b
tree2569b1b180aaa811ef10a25ec588e428a313bc13
parent7f1c573d27de713310dcee77a75981ed83453a18
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/8@272725 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/vm/uma_core.c