-
- Downloads
rewrite virtio_driver::wait_for_queue
In my memcached tests (with mc_benchmark as the driver), I saw virtio_driver::wait_for_queue appears to have some bug or race condition - in some cases it hangs on waiting for the rx queue - and simply never returns. I can't say I understand what the bug in this code is, however. Instead, I just wrote it from scratch in a different way, which I think is much clearer - and this code no longer exhibits this bug. I can't put my finger on why my new version is more correct than the old one - or even just difference... Dor, maybe you can find a difference? But it definitely behaves differently.
Please register or sign in to comment