[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120706235258.GD19462@kvack.org>
Date: Fri, 6 Jul 2012 19:52:58 -0400
From: Benjamin LaHaise <bcrl@...ck.org>
To: Ben Greear <greearb@...delatech.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: pre-fetching skb for delayed send
On Fri, Jul 06, 2012 at 04:10:40PM -0700, Ben Greear wrote:
> So, is there an easy way to pre-fetch an skb and it's related pages?
One trick would be to store the pointers to the skbs in an array rather than
relying on a list of skbs. That would enable you to issue prefetches for
multiple skbs from a single cache line of the array, rather than relying
upon the slow chasing of pointers guaranteed to cache miss in a list.
-ben
--
"Thought is the essence of where you are now."
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists