]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 272550:
authorbryanv <bryanv@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 8 Oct 2014 04:07:07 +0000 (04:07 +0000)
committerbryanv <bryanv@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 8 Oct 2014 04:07:07 +0000 (04:07 +0000)
commitad76b08111437e597ac8074550c552c60aa37f7e
treec8ed488507c10e11dc823d86e2e1b7f840d5d906
parent121a63bd1d2fdb59c6253a0c6b7e29dbe7319094
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/10@272722 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/vm/uma_core.c