From: Jiri Kosina <jkosina@suse.cz>
Subject: [Ksummit-discuss] [MAINTAINERS SUMMIT] How far to go with eBPF
Date: Wed, 15 Jun 2022 08:55:47 +0200 (CEST) [thread overview]
Message-ID: <nycvar.YFH.7.76.2206150834520.14340@cbobk.fhfr.pm> (raw)
As everyone is pretty much aware, eBPF adoption is quickly expanding for
various usecases in the kernel. For example, there has recently been
effort invested into adding eBPF support to HID subsystem [1], in order to
make adding quirks for specific devices easier, not requiring a "full"
proper driver for devices that just need a tiny bit of special handling
here and there but apart from that can be handled by the generic driver
just fine.
While there are many proponents of "eBPF is good for everything and your
grandma" aproach, this opinion is not universally shared. One big risk is
that this will eventually lead to possibility of having whole drivers /
core code written in eBPF, which could potentially lead to decreased
maintainability and supportability, also due to big fragmentation of the
code (eBPF programs might not necessarily be shipped together with the
kernel codebase).
This could potentially be a big risk for distros as well, as we (as a
distro vendor) might be very quickly losing control over what is actually
running in the context of the kernel they are bound to be supporting.
In the specific case of drivers, there also is also some similarity in
principle with UDI, which is a concept that hasn't proved viable quite
some time ago already :)
I feel like we are currently lacking a clear borderline, defining what is
still acceptable by the community to be implemented in terms of eBPF, and
what is over the line as it'd be causing big supportability and
maintainability concerns (see e.g. Christoph's concern to the HID eBPF
implementation implications [2]).
So I'd like to propose a session where we'd ideally converge closer to
defining a borderline between acceptable and non-acceptable usecases for
eBPF in the kernel.
[1] https://lore.kernel.org/all/20220518205924.399291-1-benjamin.tissoires@redhat.com/
[2] https://lore.kernel.org/all/YoX7iHddAd4FkQRQ@infradead.org/
Thanks,
--
Jiri Kosina
SUSE Labs
next reply other threads:[~2022-06-15 6:55 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-15 6:55 Jiri Kosina [this message]
2022-06-15 8:05 ` Linus Walleij
2022-06-15 8:36 ` Jiri Kosina
2022-06-15 17:04 ` Jan Kara
2022-06-15 17:25 ` Jonathan Corbet
[not found] ` <20220615174601.GX1790663@paulmck-ThinkPad-P17-Gen-1>
2022-06-15 18:25 ` Jiri Kosina
2022-06-16 16:26 ` Steven Rostedt
2022-06-16 16:38 ` James Bottomley
2022-06-16 16:51 ` Steven Rostedt
2022-06-16 18:25 ` James Bottomley
2022-06-16 19:08 ` Steven Rostedt
2022-06-17 7:53 ` Jiri Kosina
2022-06-17 8:24 ` Linus Walleij
2022-06-17 10:30 ` Jan Kara
2022-06-17 11:04 ` Benjamin Tissoires
[not found] ` <dc6ca88d-d1ef-a1ab-dbef-e9338467271d@redhat.com>
2022-06-17 11:25 ` Benjamin Tissoires
2022-06-17 11:32 ` Hans de Goede
2022-06-20 13:13 ` Steven Rostedt
2022-06-21 15:05 ` Steven Rostedt
2022-06-21 16:33 ` Benjamin Tissoires
2022-06-23 20:15 ` Jiri Kosina
2022-06-23 21:23 ` Alexei Starovoitov
2022-06-23 21:36 ` Steven Rostedt
[not found] ` <20220615174358.GA26358@lst.de>
[not found] ` <CAO-hwJKqA07KX+6QtotCS8PtHFtk3DLQPJ3W8puaHOv7tOdi+Q@mail.gmail.com>
[not found] ` <20220616114856.GA11127@lst.de>
2022-06-16 12:14 ` Benjamin Tissoires
[not found] ` <CAO-hwJJmW_STS=nT22n4pcaZf9gz953K4o2vhgmq-ig4OzxOLg@mail.gmail.com>
2022-06-16 8:02 ` Jiri Kosina
2022-06-16 11:37 ` Linus Walleij
2022-06-16 12:09 ` Benjamin Tissoires
2022-06-15 18:35 ` Luis Chamberlain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=nycvar.YFH.7.76.2206150834520.14340@cbobk.fhfr.pm \
--to=jkosina@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox