Re: Question(s) kernel

Previous thread: Question(s) kernel by Dominic on Tuesday, September 25, 2007 - 12:37 am. (2 messages)

Next thread: RFC: nuke pcidevs and usbdevs by Hasso Tepper on Thursday, September 27, 2007 - 8:11 am. (9 messages)
To: <kernel@...>
Date: Tuesday, September 25, 2007 - 2:48 pm

Theoretically if the message is being allocated dynamically, but
lwkt_sendmsg() is only used in a few fairly restricted situations.
Most of the hot-path messaging uses lwkt_domsg(), which is synchronous,
or a facility will pre-allocate a message for signaling purposes and

This code is adding the ARP information to the route table. Because
the route table is per-cpu the message must be chained to all the cpus
starting with cpu 0. It's just easier to do it that way, ARP does
not require a high performance algorithm and once the BGL is removed
from that path the overhead will be distributed evenly across all cpus.

-Matt
Matthew Dillon
<dillon@backplane.com>

Previous thread: Question(s) kernel by Dominic on Tuesday, September 25, 2007 - 12:37 am. (2 messages)

Next thread: RFC: nuke pcidevs and usbdevs by Hasso Tepper on Thursday, September 27, 2007 - 8:11 am. (9 messages)