mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
Introduce io_uring BPF struct ops implementing the loop_step callback, which will allow BPF to overwrite the default io_uring event loop logic. The callback takes an io_uring context, the main role of which is to be passed to io_uring kfuncs. The other argument is a struct iou_loop_params, which BPF can use to request CQ waiting and communicate other parameters. See the event loop description in the previous patch for more details. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://patch.msgid.link/98db437651ce64e9cbeb611c60bf5887259db09f.1772109579.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
29 lines
874 B
Makefile
29 lines
874 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for io_uring
|
|
|
|
ifdef CONFIG_GCOV_PROFILE_URING
|
|
GCOV_PROFILE := y
|
|
endif
|
|
|
|
obj-$(CONFIG_IO_URING) += io_uring.o opdef.o kbuf.o rsrc.o notif.o \
|
|
tctx.o filetable.o rw.o poll.o \
|
|
tw.o wait.o eventfd.o uring_cmd.o \
|
|
openclose.o sqpoll.o xattr.o nop.o \
|
|
fs.o splice.o sync.o msg_ring.o \
|
|
advise.o openclose.o statx.o timeout.o \
|
|
cancel.o waitid.o register.o \
|
|
truncate.o memmap.o alloc_cache.o \
|
|
query.o loop.o
|
|
|
|
obj-$(CONFIG_IO_URING_ZCRX) += zcrx.o
|
|
obj-$(CONFIG_IO_WQ) += io-wq.o
|
|
obj-$(CONFIG_FUTEX) += futex.o
|
|
obj-$(CONFIG_EPOLL) += epoll.o
|
|
obj-$(CONFIG_NET_RX_BUSY_POLL) += napi.o
|
|
obj-$(CONFIG_NET) += net.o cmd_net.o
|
|
obj-$(CONFIG_PROC_FS) += fdinfo.o
|
|
obj-$(CONFIG_IO_URING_MOCK_FILE) += mock_file.o
|
|
obj-$(CONFIG_IO_URING_BPF) += bpf_filter.o
|
|
obj-$(CONFIG_IO_URING_BPF_OPS) += bpf-ops.o
|