Marvin Liu faa9867c4d vhost: use binary search in address conversion
If Tx zero copy enabled, gpa to hpa mapping table is updated one by
one. This will harm performance when guest memory backend using 2M
hugepages. Now utilize binary search to find the entry in mapping
table, meanwhile set the threshold to 256 entries for linear search.

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2020-05-05 15:54:26 +02:00
..
2020-04-16 18:16:18 +02:00
2020-04-16 18:30:58 +02:00
2020-04-16 18:16:46 +02:00
2020-02-14 11:59:01 +01:00
2020-04-24 19:29:02 +02:00
2020-05-05 23:42:13 +02:00
2020-03-17 14:53:48 +01:00
2020-04-16 18:16:46 +02:00
2020-04-16 18:30:58 +02:00
2020-04-22 20:46:00 +02:00
2020-04-16 18:16:18 +02:00
2020-05-05 23:37:43 +02:00
2020-05-05 23:37:43 +02:00