Question(s) kernel

Dominic nospam at nospam.com
Mon Sep 24 21:37:35 PDT 2007


Hi

I have been browsing the Dragonfly kernel code and two questions came up:

(1) if a user process causes many "lwkt_sendmsg", either by directly  
invoking it or through
    some table based system call. Could this lead to memory exhaustion in  
the kernel by flooding
    the target port and eventually crash the system?

(2) http://fxr.watson.org/fxr/source/netinet/if_ether.c?v=DFBSD#L832
  "lwkt_domsg(rtable_portfn(0), &msg.netmsg.nm_lmsg, 0);"
  Is this always using cpu 0 ? And if, why?
Thank you for your answers or pointers to previous posts I missed :-)

Dominic





More information about the Kernel mailing list