Commit e0e4ab5
io_uring: refactor DEFER_TASKRUN multishot checks
We disallow DEFER_TASKRUN multishots from running by io-wq, which is
checked by individual opcodes in the issue path. We can consolidate all
it in io_wq_submit_work() at the same time moving the checks out of the
hot path.
Suggested-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/e492f0f11588bb5aa11d7d24e6f53b7c7628afdb.1709905727.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 3a96378 commit e0e4ab5
3 files changed
+20
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
944 | 944 | | |
945 | 945 | | |
946 | 946 | | |
| 947 | + | |
| 948 | + | |
947 | 949 | | |
948 | 950 | | |
949 | 951 | | |
| |||
1968 | 1970 | | |
1969 | 1971 | | |
1970 | 1972 | | |
| 1973 | + | |
| 1974 | + | |
| 1975 | + | |
| 1976 | + | |
| 1977 | + | |
| 1978 | + | |
| 1979 | + | |
| 1980 | + | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
1971 | 1991 | | |
1972 | 1992 | | |
1973 | 1993 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 81 | | |
95 | 82 | | |
96 | 83 | | |
| |||
862 | 849 | | |
863 | 850 | | |
864 | 851 | | |
865 | | - | |
866 | | - | |
867 | | - | |
868 | 852 | | |
869 | 853 | | |
870 | 854 | | |
| |||
956 | 940 | | |
957 | 941 | | |
958 | 942 | | |
959 | | - | |
960 | | - | |
961 | | - | |
962 | 943 | | |
963 | 944 | | |
964 | 945 | | |
| |||
1408 | 1389 | | |
1409 | 1390 | | |
1410 | 1391 | | |
1411 | | - | |
1412 | | - | |
1413 | 1392 | | |
1414 | 1393 | | |
1415 | 1394 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
933 | 933 | | |
934 | 934 | | |
935 | 935 | | |
936 | | - | |
937 | | - | |
938 | 936 | | |
939 | 937 | | |
940 | 938 | | |
| |||
0 commit comments