svn commit: r240366 - head/sys/dev/ixgbe

Scott Long scottl at FreeBSD.org
Tue Sep 11 16:59:04 UTC 2012


Author: scottl
Date: Tue Sep 11 16:59:04 2012
New Revision: 240366
URL: http://svn.freebsd.org/changeset/base/240366

Log:
  Remove a prefetch() directive that, after careful testing, does more harm
  than good.
  
  Submitted by:	Fabien Thomas
  Reviewed by:	jfv

Modified:
  head/sys/dev/ixgbe/ixgbe.c

Modified: head/sys/dev/ixgbe/ixgbe.c
==============================================================================
--- head/sys/dev/ixgbe/ixgbe.c	Tue Sep 11 16:32:31 2012	(r240365)
+++ head/sys/dev/ixgbe/ixgbe.c	Tue Sep 11 16:59:04 2012	(r240366)
@@ -4641,7 +4641,6 @@ ixgbe_rxeof(struct ix_queue *que, int co
 				 * leave the old mbuf+cluster for re-use.
 				 */
 				if (eop && plen <= IXGBE_RX_COPY_LEN) {
-					prefetch(mp->m_data);
 					sendmp = m_gethdr(M_DONTWAIT, MT_DATA);
 					if (sendmp != NULL) {
 						sendmp->m_data +=


More information about the svn-src-head mailing list