[PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

Linus Walleij linus.walleij at linaro.org
Tue Feb 5 10:30:45 EST 2013


On Mon, Feb 4, 2013 at 10:54 PM, Cyril Chemparathy <cyril at ti.com> wrote:
> On 02/04/2013 04:11 PM, Linus Walleij wrote:

>> Cyril, just stack up the cookies and take a sweep over them to see
>> which ones are baked when the NAPI poll comes in -> problem
>> solved.
>
> You're assuming that cookies complete in order.  That is not necessarily
> true.

So put them on a wait list? Surely you will have a list of pending
cookies and pick from the front of the queue if there isn't a hole on
queue position 0.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list