On Fri, Nov 21, 2014 at 5:54 PM, Bala Manoharan
<[email protected]> wrote:
>
> Few points,
>
> * Inorder to check ordered state of buffers from second queue they should be 
> dequeued by a single thread
> as scheduler will despatch the buffers from ORDERED queue in initial order 
> but more than one thread can get the buffer from the same queue at the same 
> time.

I was thinking something like this: q1 and q2 ORDERED queues. Buffers
will first be pushed to the q1 to have something to work with. Then
all buffers are dequeued and enqueued in q2 in, say, reverse order.
Then the buffers are dequeued from q1 and the order should match the
order in which they were pushed to q1. Did I get that right?

>
>
> Begards,
> Bala
>
> On 21 November 2014 20:28, Taras Kondratiuk <[email protected]> 
> wrote:
>>
>> On 11/21/2014 04:38 PM, Alexandru Badicioiu wrote:
>>>
>>>
>>>
>>> On 21 November 2014 16:25, Taras Kondratiuk <[email protected]
>>>     7. Two queues one of them ORDERED, several threads. Verify that buffers
>>>         scheduled from ORDERED queue are enqueue into the second queue in
>>>         correct order.
>>>
>>> I think you meant "Verify that buffers scheduled from ORDERED queue are
>>> _dequeued_ from the second queue in the correct order".
>>
>>
>> Right. To be more clear.
>> - buffers are pushed to ORDERED queues in some order.
>> - then they are scheduled from ORDERED queue and enqueued to the second
>>   queue by several threads.
>> - at the end buffers dequeued from the second queue should have the
>>   initial order.
>>
>>
>> _______________________________________________
>> lng-odp mailing list
>> [email protected]
>> http://lists.linaro.org/mailman/listinfo/lng-odp
>
>
>
> _______________________________________________
> lng-odp mailing list
> [email protected]
> http://lists.linaro.org/mailman/listinfo/lng-odp
>

_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to