Commit 9b46571
io_uring: add generic callback_head helpers
We already have helpers to run/add callback_head but taking ctx and
working with ctx->exit_task_work. Extract generic versions of them
implemented in terms of struct callback_head, it will be used later.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 9e138a4 commit 9b46571
1 file changed
Lines changed: 36 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1929 | 1929 | | |
1930 | 1930 | | |
1931 | 1931 | | |
1932 | | - | |
1933 | | - | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
| 1942 | + | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
1934 | 1956 | | |
1935 | | - | |
1936 | 1957 | | |
1937 | 1958 | | |
1938 | | - | |
1939 | 1959 | | |
1940 | | - | |
1941 | | - | |
1942 | | - | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
| 1963 | + | |
| 1964 | + | |
| 1965 | + | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
1943 | 1970 | | |
1944 | 1971 | | |
1945 | 1972 | | |
| |||
8471 | 8498 | | |
8472 | 8499 | | |
8473 | 8500 | | |
8474 | | - | |
| 8501 | + | |
8475 | 8502 | | |
8476 | | - | |
8477 | | - | |
8478 | | - | |
8479 | | - | |
8480 | | - | |
8481 | | - | |
8482 | | - | |
8483 | | - | |
8484 | | - | |
8485 | | - | |
8486 | | - | |
8487 | | - | |
8488 | | - | |
8489 | | - | |
8490 | | - | |
8491 | | - | |
8492 | | - | |
8493 | | - | |
| 8503 | + | |
8494 | 8504 | | |
8495 | 8505 | | |
8496 | 8506 | | |
| |||
0 commit comments