Re: [PATCH] Fixup locking for kernel-linker, needs ndis testing(!)

From: John Baldwin <jhb_at_freebsd.org>
Date: Tue, 30 May 2006 18:56:10 -0400
On Saturday 27 May 2006 11:12, Christian S.J. Peron wrote:
> 
> Currently, we are using Giant to serialize access into the sysctl tree. 
> This means that if the kernel linker is not picking up Giant, there 
> could be a race between when the kernel modules load/unload sysctls, and 
> somebody reading the sysctl tree.
> 
> I am not sure what the best thing to do here is yet. I've looked at the 
> locking for sysctl tree, and locking these entry points can be sticky 
> due to the recursive nature of the code.

I thought we had a big sx lock to protect the actual sysctl tree itself.

-- 
John Baldwin
Received on Tue May 30 2006 - 20:56:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:56 UTC