wct4xxp: Remove prefetching support.
I was unable to measure a performance change with prefetching. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Michael Spiceland <mspiceland@digium.com> Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10236 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
parent
fabe174b83
commit
58514bc801
@ -56,9 +56,6 @@
|
||||
/* #define ENABLE_WORKQUEUES */
|
||||
#endif
|
||||
|
||||
/* Enable prefetching may help performance */
|
||||
#define ENABLE_PREFETCH
|
||||
|
||||
/* Support first generation cards? */
|
||||
#define SUPPORT_GEN1
|
||||
|
||||
@ -2878,26 +2875,6 @@ static void __receive_span(struct t4_span *ts)
|
||||
}
|
||||
}
|
||||
#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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user