mballoc kernel thread

2002-12-29 Thread Kyunghwan Kim
experience...] - M_WAIT or M_NOWAIT in memory allocation of mballoc kproc - Strategy for high watermark wash out Thanks. -- Kyunghwan Kim [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: mballoc kernel thread

2002-12-29 Thread Kyunghwan Kim
e the conflict. As you said, it was not difficult and a good chance to practice programming in kernel. In fact, I'm almost a newbie who just wants all network device drivers in -current to be mp-safe. Anyway, it'll be better to wait for your code and learn from you. Thank you. -- Kyun

Re: Proper -current if_attach locking?

2003-01-06 Thread Kyunghwan Kim
ice private data protection, and ifnet lock for each ifnet struct protection (such as ifnet.if_mtx). Maybe these locks should be adaptive or spin And IFNET_*LOCK() should remain for adding/removing ifnet struct to the global ifnet whose type is ifnethead. In case of ifqueue, it should not need to acquire

INTR_MPSAFE to network device drivers

2002-12-17 Thread Kyunghwan Kim
Is it okay to add INTR_MPSAFE for all INTR_TYPE_NET drivers? mbuf and bpf routines are all mp-safe, so it seems that it is safe to make network device drivers out of Giant lock. Or is there any unresolved related issues? -- Kyunghwan Kim [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL

Re: INTR_MPSAFE to network device drivers

2002-12-17 Thread Kyunghwan Kim
version of mb_pop_cont() that accepts occasionally acquiring Giant? -- Kyunghwan Kim [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: INTR_MPSAFE to network device drivers

2002-12-17 Thread Kyunghwan Kim
On Wed, Dec 18, 2002 at 04:53:00AM +0900, Kyunghwan Kim wrote: > On Tue, Dec 17, 2002 at 02:31:31PM -0500, Andrew Gallatin wrote: > > > mbuf and bpf routines are all mp-safe, so it seems that > > > it is safe to make network device drivers out of Giant lock. > > &