All of lore.kernel.org
 help / color / mirror / Atom feed
* The future of bpf_dispatcher
@ 2022-09-26  7:18 Björn Töpel
  2022-09-27 12:43 ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 2+ messages in thread
From: Björn Töpel @ 2022-09-26  7:18 UTC (permalink / raw)
  To: bpf

In the recent weeks there have been various issues [1] [2] (warnings, ftrace
breakage) related to the bpf_dispatcher. The dispatcher was introduced
to reduce the cost of indirect calls for the XDP realm, and during the
whole retpoline timeline it was doing its job pretty good.

However, it's a somewhat odd animal in the kernel, and very x86
specific.

Is the bpf_dispatcher still relevant? If yes, can it be replaced by a
more generic functionality (e.g. static_calls)?


Thoughts?
Björn


[1] https://lore.kernel.org/bpf/20220923211837.3044723-1-song@kernel.org/
[2] https://lore.kernel.org/bpf/20220903131154.420467-1-jolsa@kernel.org/

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

end of thread, other threads:[~2022-09-27 12:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-26  7:18 The future of bpf_dispatcher Björn Töpel
2022-09-27 12:43 ` Toke Høiland-Jørgensen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.