DragonFly BSD
DragonFly submit List (threaded) for 2004-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

kern_sysctl.c locking


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Fri, 26 Mar 2004 16:58:43 +0100

Hi all,
the patch ftp://82.144.62.50/kern_sysctl.c.diff adds proper locking
to the sysctl code to make it SMP safe. Additionally I made the printf
for unregistering an OID_AUTO field a panic, which simplifies the code
and is IMO a real error condition.

Please test this code, esp. on SMP, TTC is 3 days.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]