Thread (65 messages) 65 messages, 12 authors, 2023-07-17

Re: [PATCH v2 06/12] mm/execmem: introduce execmem_data_alloc()

From: Alexei Starovoitov <hidden>
Date: 2023-06-20 15:32:50
Also in: bpf, linux-arm-kernel, linux-mips, linux-mm, linux-modules, linux-riscv, linux-s390, linux-trace-kernel, linuxppc-dev, lkml, loongarch, sparclinux

On Tue, Jun 20, 2023 at 7:51 AM Steven Rostedt [off-list ref] wrote:
On Mon, 19 Jun 2023 02:43:58 +0200
Thomas Gleixner [off-list ref] wrote:
quoted
Now you might argue that it _is_ a "hotpath" due to the BPF usage, but
then even more so as any intermediate wrapper which converts from one
data representation to another data representation is not going to
increase performance, right?
Just as a side note. BPF can not attach its return calling code to
functions that have more than 6 parameters (3 on 32 bit x86), because of
the way BPF return path trampoline works. It is a requirement that all
parameters live in registers, and none on the stack.
It's actually 7 and that restriction is being lifted.
The patch set to attach to <= 12 is being discussed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help