Bounded loops in BPF programs
Bounded loops in BPF programs
Posted Dec 4, 2018 8:45 UTC (Tue) by mjthayer (guest, #39183)In reply to: Bounded loops in BPF programs by Cyberax
Parent article: Bounded loops in BPF programs
I was more thinking of something in the execution engine.
Posted Dec 4, 2018 9:27 UTC (Tue)
by Sesse (subscriber, #53779)
[Link]
Posted Dec 4, 2018 9:33 UTC (Tue)
by roc (subscriber, #30627)
[Link] (3 responses)
Posted Dec 4, 2018 10:33 UTC (Tue)
by sdalley (subscriber, #18550)
[Link] (2 responses)
Posted Dec 4, 2018 10:48 UTC (Tue)
by corbet (editor, #1)
[Link] (1 responses)
Posted Dec 4, 2018 18:43 UTC (Tue)
by Cyberax (✭ supporter ✭, #52523)
[Link]
The comparison will be branch-predicted most of the time and will be fast.
Bounded loops in BPF programs
Bounded loops in BPF programs
Bounded loops in BPF programs
There is no separate thread, no. One could always set a timer to bring an end to runaway execution, but that would be an expensive thing to do.
Bounded loops in BPF programs
Bounded loops in BPF programs
