Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B22BFECE58D for ; Thu, 17 Oct 2019 22:13:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 969FB21D7A for ; Thu, 17 Oct 2019 22:13:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2441596AbfJQWNj (ORCPT ); Thu, 17 Oct 2019 18:13:39 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:43006 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2441586AbfJQWNj (ORCPT ); Thu, 17 Oct 2019 18:13:39 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:1e2::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 15D27103DF888; Thu, 17 Oct 2019 15:13:38 -0700 (PDT) Date: Thu, 17 Oct 2019 15:13:35 -0700 (PDT) Message-Id: <20191017.151335.597242104804050107.davem@davemloft.net> To: tglx@linutronix.de Cc: bigeasy@linutronix.de, daniel@iogearbox.net, bpf@vger.kernel.org, ast@kernel.org, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, peterz@infradead.org, williams@redhat.com Subject: Re: [PATCH] BPF: Disable on PREEMPT_RT From: David Miller In-Reply-To: References: <20191017154021.ndza4la3hntk4d4o@linutronix.de> <20191017.132548.2120028117307856274.davem@davemloft.net> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 17 Oct 2019 15:13:38 -0700 (PDT) Sender: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org From: Thomas Gleixner Date: Thu, 17 Oct 2019 23:54:07 +0200 (CEST) > Clark might have some insight from the product side for you how much that > impacts usability. You won't even be able to load systemd, it uses bpf. We're moving to the point where even LSM modules will be implemented in bpf. IR drivers require bpf: https://lwn.net/Articles/759188/ I understand the problems, and realize they are non-trivial, but this hammer is really destructive on a fundamental level. To a certain extent, those who insert bpf programs are explicitly changing the kernel so really the onus is on them to make sure the programs complete in time which is not only finite (which is guaranteed by BPF) but also within the RT constraints.