Re: [RFC bpf-next 00/16] bpf: Speed up trampoline attach

From
Steven Rostedt <rostedt@goodmis.org>
Date
2020-10-27 13:14:07
Also in
bpf
Reply to
Alexei Starovoitov, 2020-10-27
On Mon, 26 Oct 2020 21:30:14 -0700
Alexei Starovoitov [off-list ref] wrote:
quoted
Direct calls wasn't added so that bpf and ftrace could co-exist, it was
that for certain cases, bpf wanted a faster way to access arguments,
because it still worked with ftrace, but the saving of regs was too
strenuous.  
Direct calls in ftrace were done so that ftrace and trampoline can co-exist.
There is no other use for it.
What does that even mean? And I'm guessing when you say "trampoline"
you mean a "bpf trampoline" because "trampoline" is used for a lot more
than bpf, and bpf does not own that term.

Do you mean, "direct calls in ftrace were done so that bpf trampolines
could work". Remember, ftrace has a lot of users, and it must remain
backward compatible.

-- Steve
Thread (47 messages) 47 messages, 5 authors, last reply 2020-10-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help