per-cpu table information

Harald Welte laforge at netfilter.org
Thu Sep 16 00:36:02 CEST 2004


On Thu, Sep 09, 2004 at 03:47:02PM +0530, Swapnil Nagle wrote:
> 
> Hi all,
> 
> Why is the table information (ipt_table_info to be specific) duplicated 
> for each CPU in ipt_table?

Because we don't need any locking and we don't have cache line ping-pong
between the CPU's, if there is no shared data.

> Regards,
> Swapnil.

-- 
- Harald Welte <laforge at netfilter.org>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : /pipermail/netfilter-devel/attachments/20040916/31aa9840/attachment.bin


More information about the netfilter-devel mailing list