Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2018 14:38:32 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        "Somayajulu, David" <David.Somayajulu@cavium.com>, "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: ib_unregister_device - OFED related question
Message-ID:  <f2361512-6ee7-e5e9-b0d9-b7b8095a3b6a@selasky.org>
In-Reply-To: <MWHPR0701MB372139C2DA2DA94DD7F8FF95EE460@MWHPR0701MB3721.namprd07.prod.outlook.com>
References:  <MWHPR0701MB372139C2DA2DA94DD7F8FF95EE460@MWHPR0701MB3721.namprd07.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07/07/18 02:49, Somayajulu, David wrote:
> We see that module_unload() grabs the Gaint Lock prior to invoking UNLOAD. Isn't this a problem with cma_process_remove() or am I missing something?

Hi,

The LinuxKPI should DROP_GIANT and PICKUP_GIANT when sleeping. I haven't 
checked FreeBSD 10 recently, but this is the case for FreeBSD 11 and 
FreeBSD 12.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f2361512-6ee7-e5e9-b0d9-b7b8095a3b6a>