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 loop in process_tx_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. Signed-off-by: Li Zebin <[email protected]>
- Loading branch information