Hi Luiz,

2015-07-31 23:43 GMT+02:00 Luiz Otavio O Souza <l...@freebsd.org>:
> -               while (d->bd_hbuf_in_use)
> -                       mtx_sleep(&d->bd_hbuf_in_use, &d->bd_lock,
> -                           PRINET, "bd_hbuf", 0);

Would it make sense to replace them by an assertion, instead of
omitting them entirely?

KASSERT(!d->bd_hbuf_in_use, ("..."));

Thanks,
-- 
Ed Schouten <e...@nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK/VAT number: 62051717
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to