Kyunghwan Kim writes: > Is it okay to add INTR_MPSAFE for all INTR_TYPE_NET drivers?
NO! > 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? Yes, the mbuf allocator must occasionally call kmem_malloc(), which requires Giant. This means no net driver can be made INTR_MPSAFE, or it will eventually panic when kmem_malloc is called. Drew To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message