3 ms·
Why not compile directly to ebpf and run your code without context switches?
by legulere 3y ago
Why not compile directly to ebpf and run your code without context switches?
- NegativeK 3y agoEBPF has strict limitations, like 512-byte stack and 1M instructions, that would make it inapplicable to a lot of programs. It's intentionally not Turing complete. Also, because context switches are good?
- aminepa8 3y agoWhile eBPF aims to minimize context switches and provide efficient in-kernel execution, there might still be scenarios where context switches are unavoidable. For example, interactions with user-space applications or handling specific events may require transitioning between user and kernel space. However, the goal is to keep such transitions to a minimum and leverage the advantages of eBPF's in-kernel execution model