commit | 1ab5d1385af40272ca44a5cd38af7e13da6ed847 | [log] [tgz] |
---|---|---|
author | Jason Wang <[email protected]> | Fri May 24 04:12:13 2019 -0400 |
committer | Michael S. Tsirkin <[email protected]> | Wed Jun 05 16:23:52 2019 -0400 |
tree | 266251dade0c6ed9ae0fdae4efd48354918d2608 | |
parent | c1ea02f15ab5efb3e93fc3144d895410bf79fcf2 [diff] |
vhost: generalize adding used elem Use one generic vhost_copy_to_user() instead of two dedicated accessor. This will simplify the conversion to fine grain accessors. About 2% improvement of PPS were seen during vitio-user txonly test. Signed-off-by: Jason Wang <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>