Removing Giant asserts from geom

Warner Losh imp at bsdimp.com
Thu May 19 19:58:56 UTC 2016


On Thu, May 19, 2016 at 4:56 AM, Konstantin Belousov
<kostikbel at gmail.com> wrote:
> I propose to remove asserts
>                 mtx_assert(&Giant, MA_NOTOWNED);
> from the geom KPI.

I can't see any reason for the assertion in today's kernel.

I might split out the lock / unlock of giant around thread creation
since that's different.

Warner


More information about the freebsd-arch mailing list