Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2016 11:04:21 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        geom@freebsd.org, arch@freebsd.org
Subject:   Re: Removing Giant asserts from geom
Message-ID:  <85764.1463655861@critter.freebsd.dk>
In-Reply-To: <20160519105634.GO89104@kib.kiev.ua>
References:  <20160519105634.GO89104@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
--------
In message <20160519105634.GO89104@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85764.1463655861>