[svn-commits] sruffell: linux/trunk r10236 - /linux/trunk/drivers/dahdi/wct4xxp/base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Oct 20 15:52:30 CDT 2011
Author: sruffell
Date: Thu Oct 20 15:52:26 2011
New Revision: 10236
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10236
Log:
wct4xxp: Remove prefetching support.
I was unable to measure a performance change with prefetching.
Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Acked-by: Michael Spiceland <mspiceland at digium.com>
Acked-by: Russ Meyerriecks <rmeyerriecks at digium.com>
Modified:
linux/trunk/drivers/dahdi/wct4xxp/base.c
Modified: linux/trunk/drivers/dahdi/wct4xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wct4xxp/base.c?view=diff&rev=10236&r1=10235&r2=10236
==============================================================================
--- linux/trunk/drivers/dahdi/wct4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wct4xxp/base.c Thu Oct 20 15:52:26 2011
@@ -55,9 +55,6 @@
*/
/* #define ENABLE_WORKQUEUES */
#endif
-
-/* Enable prefetching may help performance */
-#define ENABLE_PREFETCH
/* Support first generation cards? */
#define SUPPORT_GEN1
@@ -2878,26 +2875,6 @@
}
}
#endif
-
-#ifdef ENABLE_PREFETCH
- prefetch((void *)(ts->readchunk));
- prefetch((void *)(ts->writechunk));
- prefetch((void *)(ts->readchunk + 8));
- prefetch((void *)(ts->writechunk + 8));
- prefetch((void *)(ts->readchunk + 16));
- prefetch((void *)(ts->writechunk + 16));
- prefetch((void *)(ts->readchunk + 24));
- prefetch((void *)(ts->writechunk + 24));
- prefetch((void *)(ts->readchunk + 32));
- prefetch((void *)(ts->writechunk + 32));
- prefetch((void *)(ts->readchunk + 40));
- prefetch((void *)(ts->writechunk + 40));
- prefetch((void *)(ts->readchunk + 48));
- prefetch((void *)(ts->writechunk + 48));
- prefetch((void *)(ts->readchunk + 56));
- prefetch((void *)(ts->writechunk + 56));
-#endif
-
_dahdi_ec_span(&ts->span);
_dahdi_receive(&ts->span);
}
More information about the svn-commits
mailing list