BPF List
 help / color / mirror / Atom feed
* [LSF/MM/BPF TOPIC] Compiled BPF and toolchains
@ 2024-02-21 11:09 Jose E. Marchesi
  2024-02-21 16:32 ` Yonghong Song
  0 siblings, 1 reply; 2+ messages in thread
From: Jose E. Marchesi @ 2024-02-21 11:09 UTC (permalink / raw)
  To: lsf-pc; +Cc: bpf


The discussions we had last year in LSFMMBPF about BPF support in GCC
were very useful, and led to more and better interactions between the
BPF GCC maintainers, the BPF clang maintainers and the rest of the BPF
community.  This helped a lot to achieve better convergence with clang.

We think it would be good to repeat the experience this year with a
session where we could discuss particular topics related to compiled BPF
in general, like the toolchain requirements introduced by the new
features being proposed for BPF (such as supporting segmented stacks,
just to mention a recent one) and how to better support these in both
GCC and clang.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LSF/MM/BPF TOPIC] Compiled BPF and toolchains
  2024-02-21 11:09 [LSF/MM/BPF TOPIC] Compiled BPF and toolchains Jose E. Marchesi
@ 2024-02-21 16:32 ` Yonghong Song
  0 siblings, 0 replies; 2+ messages in thread
From: Yonghong Song @ 2024-02-21 16:32 UTC (permalink / raw)
  To: Jose E. Marchesi, lsf-pc; +Cc: bpf


On 2/21/24 3:09 AM, Jose E. Marchesi wrote:
> The discussions we had last year in LSFMMBPF about BPF support in GCC
> were very useful, and led to more and better interactions between the
> BPF GCC maintainers, the BPF clang maintainers and the rest of the BPF
> community.  This helped a lot to achieve better convergence with clang.
>
> We think it would be good to repeat the experience this year with a
> session where we could discuss particular topics related to compiled BPF
> in general, like the toolchain requirements introduced by the new
> features being proposed for BPF (such as supporting segmented stacks,

It will be shadow stack, as suggested by Alexei, in order to
maintain the current seemless support for stack backtracing.

> just to mention a recent one) and how to better support these in both
> GCC and clang.

Another topic worth gcc involvement is potential compiler support for 
static key in bpf programs. 
https://lore.kernel.org/bpf/CAADnVQJ+_+ok_io1_W7e5z_dZhxSqhEFZQkumRgmY4AJRYwW7g@mail.gmail.com/ 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-21 16:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-21 11:09 [LSF/MM/BPF TOPIC] Compiled BPF and toolchains Jose E. Marchesi
2024-02-21 16:32 ` Yonghong Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox