Re: [PATCH] xen-netfront: Avoid deref'ing skbafter it is potentially freed.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeremy Fitzhardinge
Date: Tuesday, August 14, 2007 - 11:16 am

Jesper Juhl wrote:

Hm, I think it would be better to keep them together.  The second add is
going to be pretty much free, particularly since the tx_bytes add will
probably pull tx_packets into cache.

I have a followup patch to convert it to using the netdevice stats
structure, which will definitely put them in the same cacheline (though
perhaps the stats structure should group tx and rx members together?).

    J

    J
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] xen-netfront: Avoid deref'ing skbafter it is poten ..., Jeremy Fitzhardinge, (Mon Aug 13, 12:54 pm)
Re: [PATCH] xen-netfront: Avoid deref'ing skbafter it is p ..., Jeremy Fitzhardinge, (Tue Aug 14, 11:16 am)