Removing Giant asserts from geom

Poul-Henning Kamp phk at phk.freebsd.dk
Thu May 19 11:04:30 UTC 2016


--------
In message <20160519105634.GO89104 at kib.kiev.ua>, Konstantin Belousov writes:
>I propose to remove asserts
>		mtx_assert(&Giant, MA_NOTOWNED);

By all means.

They were necessary because GEOM happened in the early days of SMP
where things were strange and locks unpredictable.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-arch mailing list