Skip to contentSkip to conversation

DISCUSSION Luis Gerhorst 2 participants 3 messages Nov 6, 2020 io_uring

lore
Share & tools
lore
#0 lore raw

Hello Pavel,

I'm from a university and am searching for a project to work on in the upcoming year. I am looking into allowing userspace to run multiple system calls interleaved with application-specific logic using a single context switch.

I noticed that you, Jens Axboe, and Carter Li discussed the possibility of integrating eBPF into io_uring earlier this year [1, 2, 3]. Is there any WIP on this topic?

If not I am considering to implement this. Besides the fact that AOT eBPF is only supported for priviledged processes, are there any issues you are aware of or reasons why this was not implemented yet?

Best,
Luis

[1] https://lore.kernel.org/io-uring/[email protected]/
[2] https://lore.kernel.org/io-uring/[email protected]/
[3] https://github.com/axboe/liburing/issues/58

#1 lore raw

Integrating eBPF into io-uring

Forgot subject, sorry.

Quoted 23 lines · Luis Gerhorst

Hello Pavel,

I'm from a university and am searching for a project to work on in the upcoming year. I am looking into allowing userspace to run multiple system calls interleaved with application-specific logic using a single context switch.

I noticed that you, Jens Axboe, and Carter Li discussed the possibility of integrating eBPF into io_uring earlier this year [1, 2, 3]. Is there any WIP on this topic?

If not I am considering to implement this. Besides the fact that AOT eBPF is only supported for priviledged processes, are there any issues you are aware of or reasons why this was not implemented yet?

Best,
Luis

[1] https://lore.kernel.org/io-uring/[email protected]/
[2] https://lore.kernel.org/io-uring/[email protected]/
[3] https://github.com/axboe/liburing/issues/58

#2 lore raw
In reply to Luis Gerhorst
Quoted 10 lines · Luis Gerhorst

Hello Pavel,

I'm from a university and am searching for a project to work on in the upcoming year. I am looking into allowing userspace to run multiple system calls interleaved with application-specific logic using a single context switch.

I noticed that you, Jens Axboe, and Carter Li discussed the possibility of integrating eBPF into io_uring earlier this year [1, 2, 3]. Is there any WIP on this topic?

To be honest, I've finally returned to it a week ago, just because got more free time. I was implicitly patching/refactoring some bits keeping this in mind but rather very lazily.

Quoted 3 lines

If not I am considering to implement this. Besides the fact that AOT eBPF is only supported for priviledged processes, are there any issues you are aware of or reasons why this was not implemented yet?

All others I was anticipating are gone by now. I'd be really great to think something out for non-privileged processes, but as you know that doesn't hold us off.

Quoted 4 lines

[1] https://lore.kernel.org/io-uring/[email protected]/
[2] https://lore.kernel.org/io-uring/[email protected]/
[3] https://github.com/axboe/liburing/issues/58

Signature · 1 line
Pavel Begunkov