Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 2000 16:35:27 -0600
From:      Chuck Paterson <cp@bsdi.com>
To:        Bosko Milekic <bmilekic@technokratis.com>
Cc:        freebsd-net@freebsd.org, freebsd-arch@freebsd.org
Subject:   Re: mbuf system and SMPng 
Message-ID:  <200009232235.QAA19401@berserker.bsdi.com>
In-Reply-To: Your message of "Sat, 23 Sep 2000 14:46:44 EDT." <Pine.BSF.4.21.0009231425080.7679-100000@jehovah.technokratis.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
}
}	Actually, MBWAKEUP() first makes sure to check m_mballoc_wid, and
}  does so with the lock held, so it will not call wakeup_one() if nobody is
}  sleeping. Note that MBWAKEUP() is always called with the necessary mutex
}  held (whether it be the mclfree or mmbfree one).
}

Right, you are. When you change the this it looks like you can also get
rid of the atomic op in MBWAKEUP.

Chuck



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009232235.QAA19401>