Re: Sysctls and mutexes.

2003-07-13 Thread Pawel Jakub Dawidek
On Sun, Jun 29, 2003 at 09:12:11AM +0200, Pawel Jakub Dawidek wrote: +> I want to discuss two things about sysctls. [...] +> 2. Secound thing. I'm wondering if there is no need to and one more field +>to those macros: mutex that protects given value. Then standard functions +>sysctl_handle_

Sysctls and mutexes.

2003-06-29 Thread Pawel Jakub Dawidek
Hello. I want to discuss two things about sysctls. 1. If there is need to use M_WAITOK when allocating memory? Every SYSCTL_ADD_* macro returns pointer that could be tested if it isn't NULL (when malloc(9) failed). I'm talking about dynamic sysctls. 2. Secound thing. I'm wondering if there