svn commit: r334104 - in head/sys: netinet sys

John Baldwin jhb at freebsd.org
Wed May 23 23:11:16 UTC 2018


On Wednesday, May 23, 2018 05:00:05 PM Matt Macy wrote:
> Author: mmacy
> Date: Wed May 23 17:00:05 2018
> New Revision: 334104
> URL: https://svnweb.freebsd.org/changeset/base/334104
> 
> Log:
>   epoch: allow for conditionally asserting that the epoch context fields
>   are unused by zeroing on INVARIANTS builds

Is M_ZERO really so bad that you need to make it conditional?

I would probably have preferred something like 'M_ZERO_INVARIANTS'
instead perhaps (or M_ZERO_EPOCH) that only controls M_ZERO and is
still or'd with M_WAITOK or M_NOWAIT.

-- 
John Baldwin


More information about the svn-src-head mailing list