Re: [PATCH] pasemi_dma: Driver for PA Semi PWRficient on-chip DMAengine

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Olof Johansson
Date: Thursday, March 13, 2008 - 4:14 pm

On Thu, Mar 13, 2008 at 03:29:29PM -0700, Dan Williams wrote:

Badly worded question, but it got answered anyway. What I really meant
to as was "does async_tx use memcpy", I thought it only used xor. Good
to know.


Ok, one could argue that it'd make more sense to have a way to issue a
memcpy (or other op) with a callback. Anyway, both methods work.


Well, it'd be slightly more efficient to do add the interrupt attribute
to the last issued descriptor when it's known in advance. If the
underlying driver doesn't support it, adding a separate descriptor would
be a good fallback.

Anyway, this isn't likely to be a performance bottleneck. If it turns
out to be, I'll refactor it and submit patches.


Why? That just adds overhead and latency.


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

Messages in current thread:
Re: [PATCH] pasemi_dma: Driver for PA Semi PWRficient on-c ..., Olof Johansson, (Thu Mar 13, 4:14 pm)