On Fri, Dec 02, 2016 at 04:11:32PM +0800, Sepherosa Ziehau wrote:
> peek_clear_sc is added to address the issue you mentioned. IMHO, this
> commit weakens the proper assertion.
I would say this check:
#ifdef DEBUG_BUFRING
int i;
for (i = br->br_cons_head; i != br->br_prod_head;
peek_clear_sc is added to address the issue you mentioned. IMHO, this
commit weakens the proper assertion.
On Fri, Dec 2, 2016 at 5:08 AM, Ryan Stone wrote:
> Author: rstone
> Date: Thu Dec 1 21:08:42 2016
> New Revision: 309372
> URL: https://svnweb.freebsd.org/changeset/base/309372
>
> Log:
>
Author: rstone
Date: Thu Dec 1 21:08:42 2016
New Revision: 309372
URL: https://svnweb.freebsd.org/changeset/base/309372
Log:
Fix a false positive in a buf_ring assert
buf_ring contains an assert that checks whether an item being
enqueued already exists on the ring. There is a subtle bug