netdev
[Top] [All Lists]

Re: [PATCH] Add prefetches in net/ipv4/route.c

To: rick.jones2@xxxxxx
Subject: Re: [PATCH] Add prefetches in net/ipv4/route.c
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Sat, 30 Jul 2005 20:52:09 -0700 (PDT)
Cc: dada1@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, davem@xxxxxxxxxx, Robert.Olsson@xxxxxxxxxxx
In-reply-to: <42EA7491.1010207@xxxxxx>
References: <42EA6202.703@xxxxxx> <42EA6E0F.8060705@xxxxxxxxxxxxx> <42EA7491.1010207@xxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
From: Rick Jones <rick.jones2@xxxxxx>
Date: Fri, 29 Jul 2005 11:25:21 -0700

> Which of course begs the question - what cache line size should be
> ass-u-me-d when blocking these things?  I'll put-forth 128 bytes.

Why guess?  There is no need to.

Use "__read_mostly" which is an attribute designed explicitly for
this.

<Prev in Thread] Current Thread [Next in Thread>