Re: Removing NET_NEEDS_GIANT: first patch
- From: John Baldwin <jhb@xxxxxxxxxxx>
- Date: Tue, 24 Jul 2007 15:35:58 -0400
On Tuesday 24 July 2007 02:21:09 pm Robert Watson wrote:
it
On Tue, 24 Jul 2007, John Baldwin wrote:
On Tuesday 24 July 2007 06:17:45 am Robert Watson wrote:
Patch attached, and also available at this URL:
Possibly use mtx_assert() rather than KASSERT(mtx_owned()) in
nfs_syscalls.c?
Sounds good, I will make that change. I picked that new structure because
most closely matched what was there, and what was there required a KASSERT
because it combined a variable check with a lock check, but the new code
doesn't require that.
*nod* I'd figured as much. I'd of almost prefer that the previous code had
been:
if (!debug_mpsafenet)
mtx_assert(...)
FWIW.
--
John Baldwin
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- References:
- Removing NET_NEEDS_GIANT: first patch
- From: Robert Watson
- Re: Removing NET_NEEDS_GIANT: first patch
- From: John Baldwin
- Re: Removing NET_NEEDS_GIANT: first patch
- From: Robert Watson
- Removing NET_NEEDS_GIANT: first patch
- Prev by Date: Re: Removing NET_NEEDS_GIANT: first patch
- Next by Date: Re: Removing NET_NEEDS_GIANT: first patch
- Previous by thread: Re: Removing NET_NEEDS_GIANT: first patch
- Next by thread: Re: Removing NET_NEEDS_GIANT: first patch
- Index(es):
Relevant Pages
|
|