Commit 821c9e5
committed
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull virtio updates from Michael Tsirkin:
- vhost can now support legacy threading if enabled in Kconfig
- vsock memory allocation strategies for large buffers have been
improved, reducing pressure on kmalloc
- vhost now supports the in-order feature. guest bits missed the merge
window.
- fixes, cleanups all over the place
* tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: (30 commits)
vsock/virtio: Allocate nonlinear SKBs for handling large transmit buffers
vsock/virtio: Rename virtio_vsock_skb_rx_put()
vhost/vsock: Allocate nonlinear SKBs for handling large receive buffers
vsock/virtio: Move SKB allocation lower-bound check to callers
vsock/virtio: Rename virtio_vsock_alloc_skb()
vsock/virtio: Resize receive buffers so that each SKB fits in a 4K page
vsock/virtio: Move length check to callers of virtio_vsock_skb_rx_put()
vsock/virtio: Validate length in packet header before skb_put()
vhost/vsock: Avoid allocating arbitrarily-sized SKBs
vhost_net: basic in_order support
vhost: basic in order support
vhost: fail early when __vhost_add_used() fails
vhost: Reintroduce kthread API and add mode selection
vdpa: Fix IDR memory leak in VDUSE module exit
vdpa/mlx5: Fix release of uninitialized resources on error path
vhost-scsi: Fix check for inline_sg_cnt exceeding preallocated limit
virtio: virtio_dma_buf: fix missing parameter documentation
vhost: Fix typos
vhost: vringh: Remove unused functions
vhost: vringh: Remove unused iotlb functions
...File tree
23 files changed
+574
-342
lines changed- drivers
- gpu/drm/virtio
- vdpa
- mlx5
- core
- net
- vdpa_user
- vhost
- virtio
- include
- linux
- uapi/linux
- kernel
- net/vmw_vsock
23 files changed
+574
-342
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
908 | 908 | | |
909 | 909 | | |
910 | 910 | | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
911 | 914 | | |
912 | 915 | | |
913 | 916 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2491 | 2491 | | |
2492 | 2492 | | |
2493 | 2493 | | |
2494 | | - | |
| 2494 | + | |
2495 | 2495 | | |
2496 | 2496 | | |
2497 | 2497 | | |
| |||
3432 | 3432 | | |
3433 | 3433 | | |
3434 | 3434 | | |
| 3435 | + | |
| 3436 | + | |
| 3437 | + | |
3435 | 3438 | | |
3436 | 3439 | | |
3437 | 3440 | | |
3438 | | - | |
3439 | | - | |
3440 | 3441 | | |
3441 | 3442 | | |
3442 | 3443 | | |
3443 | 3444 | | |
| 3445 | + | |
3444 | 3446 | | |
3445 | 3447 | | |
3446 | 3448 | | |
| |||
3888 | 3890 | | |
3889 | 3891 | | |
3890 | 3892 | | |
| 3893 | + | |
| 3894 | + | |
3891 | 3895 | | |
3892 | 3896 | | |
3893 | 3897 | | |
| |||
3960 | 3964 | | |
3961 | 3965 | | |
3962 | 3966 | | |
3963 | | - | |
3964 | | - | |
3965 | 3967 | | |
3966 | 3968 | | |
3967 | 3969 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2216 | 2216 | | |
2217 | 2217 | | |
2218 | 2218 | | |
| 2219 | + | |
2219 | 2220 | | |
2220 | 2221 | | |
2221 | 2222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
98 | 116 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
376 | 377 | | |
377 | 378 | | |
378 | 379 | | |
379 | | - | |
| 380 | + | |
| 381 | + | |
380 | 382 | | |
381 | 383 | | |
382 | 384 | | |
| |||
451 | 453 | | |
452 | 454 | | |
453 | 455 | | |
454 | | - | |
| 456 | + | |
| 457 | + | |
455 | 458 | | |
456 | 459 | | |
457 | 460 | | |
458 | 461 | | |
459 | 462 | | |
460 | 463 | | |
461 | 464 | | |
462 | | - | |
| 465 | + | |
| 466 | + | |
463 | 467 | | |
464 | 468 | | |
465 | 469 | | |
| |||
468 | 472 | | |
469 | 473 | | |
470 | 474 | | |
| 475 | + | |
| 476 | + | |
471 | 477 | | |
472 | 478 | | |
473 | 479 | | |
474 | 480 | | |
475 | 481 | | |
476 | 482 | | |
477 | 483 | | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
478 | 489 | | |
479 | 490 | | |
480 | 491 | | |
| |||
496 | 507 | | |
497 | 508 | | |
498 | 509 | | |
499 | | - | |
| 510 | + | |
500 | 511 | | |
501 | 512 | | |
502 | 513 | | |
| |||
750 | 761 | | |
751 | 762 | | |
752 | 763 | | |
| 764 | + | |
753 | 765 | | |
754 | 766 | | |
755 | 767 | | |
| |||
786 | 798 | | |
787 | 799 | | |
788 | 800 | | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | | - | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
794 | 808 | | |
795 | 809 | | |
796 | 810 | | |
| |||
811 | 825 | | |
812 | 826 | | |
813 | 827 | | |
814 | | - | |
815 | | - | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
816 | 834 | | |
817 | 835 | | |
818 | 836 | | |
| |||
991 | 1009 | | |
992 | 1010 | | |
993 | 1011 | | |
994 | | - | |
| 1012 | + | |
995 | 1013 | | |
996 | 1014 | | |
997 | 1015 | | |
| |||
1001 | 1019 | | |
1002 | 1020 | | |
1003 | 1021 | | |
1004 | | - | |
| 1022 | + | |
1005 | 1023 | | |
1006 | 1024 | | |
1007 | 1025 | | |
| |||
1013 | 1031 | | |
1014 | 1032 | | |
1015 | 1033 | | |
1016 | | - | |
| 1034 | + | |
1017 | 1035 | | |
1018 | 1036 | | |
1019 | 1037 | | |
1020 | 1038 | | |
1021 | 1039 | | |
1022 | 1040 | | |
1023 | 1041 | | |
1024 | | - | |
| 1042 | + | |
1025 | 1043 | | |
| 1044 | + | |
1026 | 1045 | | |
1027 | 1046 | | |
1028 | 1047 | | |
1029 | 1048 | | |
1030 | 1049 | | |
1031 | 1050 | | |
| 1051 | + | |
| 1052 | + | |
1032 | 1053 | | |
1033 | 1054 | | |
1034 | 1055 | | |
| |||
1065 | 1086 | | |
1066 | 1087 | | |
1067 | 1088 | | |
1068 | | - | |
1069 | 1089 | | |
1070 | | - | |
1071 | | - | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
1072 | 1094 | | |
| 1095 | + | |
1073 | 1096 | | |
1074 | 1097 | | |
1075 | | - | |
| 1098 | + | |
1076 | 1099 | | |
1077 | 1100 | | |
1078 | 1101 | | |
| |||
1082 | 1105 | | |
1083 | 1106 | | |
1084 | 1107 | | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
1085 | 1117 | | |
1086 | 1118 | | |
1087 | 1119 | | |
| |||
1094 | 1126 | | |
1095 | 1127 | | |
1096 | 1128 | | |
| 1129 | + | |
| 1130 | + | |
1097 | 1131 | | |
1098 | 1132 | | |
1099 | 1133 | | |
| |||
1141 | 1175 | | |
1142 | 1176 | | |
1143 | 1177 | | |
1144 | | - | |
| 1178 | + | |
1145 | 1179 | | |
1146 | 1180 | | |
1147 | 1181 | | |
1148 | 1182 | | |
1149 | | - | |
| 1183 | + | |
| 1184 | + | |
1150 | 1185 | | |
1151 | 1186 | | |
1152 | 1187 | | |
| |||
1222 | 1257 | | |
1223 | 1258 | | |
1224 | 1259 | | |
1225 | | - | |
1226 | | - | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
1227 | 1265 | | |
1228 | 1266 | | |
1229 | 1267 | | |
| |||
1235 | 1273 | | |
1236 | 1274 | | |
1237 | 1275 | | |
1238 | | - | |
| 1276 | + | |
1239 | 1277 | | |
1240 | 1278 | | |
1241 | 1279 | | |
| |||
0 commit comments