Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vsock: Move
iter
outside of the loop in process_rx_queue
the iter() function is used for produce a queue iterator to iterate over the descriptors. But usually, it shouldn't be in the while loop, which might brings more unnecessary overhead. So move `iter` outside of the while loop. And the process_tx_queue has the same problem, maybe we can fix it, too. Signed-off-by: Li Zebin <[email protected]>
- Loading branch information