Open delanyinspiron6400 opened 4 years ago
Everything works as long as we do not re-use the now empty chunk, we can try reduce the semaphore, flush the chunk and take it out of the queue, but as soon as we add it to the reuse queue, something goes wrong in the next iteration.
Look at while loop in
Allow for chunk re-use for the chunk queue, implement as:
Introduced qeue position for Chunk, such that free can locate it.
Problem:
Try reduce can fail, since signal occurs after free, hence this might fail
Now our testcases always clean out the queue, meaning each new run allocated from empty queue and is really slow.
[ ] Standard
[ ] VA
[ ] VL