summaryrefslogtreecommitdiffstats
path: root/samples/bpf/xdp2_kern.c
diff options
context:
space:
mode:
authorChristoph Hellwig2018-05-20 19:19:30 +0200
committerChristoph Hellwig2018-05-26 09:16:44 +0200
commit1962da0d2198a00a056a2915fbc6ec684c3bef0a (patch)
treeaec374beb42fb7e8d6dc95a602a1cd257df3ba82 /samples/bpf/xdp2_kern.c
parentaio: implement IOCB_CMD_POLL (diff)
downloadkernel-qcow2-linux-1962da0d2198a00a056a2915fbc6ec684c3bef0a.tar.gz
kernel-qcow2-linux-1962da0d2198a00a056a2915fbc6ec684c3bef0a.tar.xz
kernel-qcow2-linux-1962da0d2198a00a056a2915fbc6ec684c3bef0a.zip
aio: try to complete poll iocbs without context switch
If we can acquire ctx_lock without spinning we can just remove our iocb from the active_reqs list, and thus complete the iocbs from the wakeup context. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'samples/bpf/xdp2_kern.c')
0 files changed, 0 insertions, 0 deletions