Re: Route cache performance under stress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   From: Varun Varma <varun@mindsw.com>
   Date: Wed, 11 Jun 2003 07:00:29 +0530
   
    > Aren't the read_lock_irqsave and restore expensive?
   
   Even if they are, they don't get called for each IP packet - only where 
   the timestamp is needed to be transmitted in the packet. skbuff's get 
   their timestamps through get_fast_time in netif_rx, if needed.

People stop spreading this misinformation....

It DOES get called for every packet.  One layer up from IP, in
net/core/dev.c as receive packets are given to the networking by the
device.  See netif_rx() and netif_receive_skb().

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux