Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1941744ybv; Fri, 21 Feb 2020 06:06:22 -0800 (PST) X-Google-Smtp-Source: APXvYqz3QMcNzHMI0hYBwwp4pad+PWCLguPcjk53jcaN7faRE6zxhbPwwDnjVAHrKHa6I3nRMaMi X-Received: by 2002:aca:1a06:: with SMTP id a6mr2036438oia.148.1582293982093; Fri, 21 Feb 2020 06:06:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582293982; cv=none; d=google.com; s=arc-20160816; b=AfZ2GLqdnr4J+idAtw5U9qP4RqXXxmZOgfMbwTn0Mz8hQGJ3eWu/RLvH+YQT4Wl/MA leSlyO/1i5mWghKBcaE9l7FUOMEgW+lZeMkUbKUzCytf4kLuXR5guriHYgzd7H/bZJV1 hJdljX2jtwFsr9Gpsyl0miBIC3gc+efcbbYHRAu0hUpz8ijLkes9tM//9JVxbKt1wLW6 yxLkuGsTZiSfSSLemDRn6FbxUyPsYPtQQ7gV+75ecQ1A4PXIG9p1KCaTF7t0lTp0dFeZ pwBBsxqW2TLiyEkj1f3qF3FPLwyXUJpd63LXZ9kIFtIcOHkm4Sz7HqKGEDs/+vxAWikm KJIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Aazh1RhyvXOGHb09Cwj8jGdosZoKwm2UiHbqdSBwAKU=; b=rdyUB89C2uawvTVvkDJsEOt29JYtrpTi+3vjlRAqFkkyH6wU9ycSXWA7wPZ9WA3cJi bUjfXoOw79mYl0W8M/qDjvrIv+oFJ4HGFNaCPJl3Zh+nO7PonnnFPTV8dIBNJsqgJVxD 1/qFrBhfC5FyuPn3ToQM4CPzW0mNyTxtvNcuN3YBsEg24ftBmTmiQ3yYPwmxu9wLo71j ninYwjFK4gsrwCP/CC+mkDRKbRu5umkJsCyuAwFC3VVdkn6zABz7rNBwUf42NsT8oz+r 8EOE1hXfN0bDbk4c1a8SXYk66qlT2G84cC5bzWo2mzh/w3RbAMaio9ezYtIEH2OfzHbM V8rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=fd40N3pz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g25si1469267otj.198.2020.02.21.06.05.51; Fri, 21 Feb 2020 06:06:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=fd40N3pz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728690AbgBUOFk (ORCPT + 99 others); Fri, 21 Feb 2020 09:05:40 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:58564 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728392AbgBUOFk (ORCPT ); Fri, 21 Feb 2020 09:05:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Aazh1RhyvXOGHb09Cwj8jGdosZoKwm2UiHbqdSBwAKU=; b=fd40N3pzJ32R/3wJ8wHUq3Y7EM KQ6wR5fs2s/OA2v9a9kNtotfVWhmqzTk+67KJ/h3z+Ukt8DpONxv2WYuE6oAFdYak/IUrF8MFp6/1 YBCSHbvW1n0Jk7of9hgA7CJ5twxkEo7J37RWBRg0CmubObOcAhIH85ia+DFeVXywQE3exP/k2ziil SCAXMgRVYFzeP7jWnyhAtC9IqN9zdkkHY76rDhLgp+PKgblbKX0FD18DQL6SfTKdap1hnlPgplMYM mHJQtystu0p5dieKYBbg0z6hv13kOk5kp7olmhjNAaQPD08+GkvKWIu/vhmtGDjFjVnHhZ93KeuGl vjY3ABcw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1j58vb-0006qW-3a; Fri, 21 Feb 2020 14:05:15 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 5CCE430220B; Fri, 21 Feb 2020 15:03:19 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 821E329B59038; Fri, 21 Feb 2020 15:05:12 +0100 (CET) Date: Fri, 21 Feb 2020 15:05:12 +0100 From: Peter Zijlstra To: Thomas Gleixner Cc: Kees Cook , Vinicius Costa Gomes , LKML , David Miller , bpf@vger.kernel.org, netdev@vger.kernel.org, Alexei Starovoitov , Daniel Borkmann , Sebastian Sewior , Clark Williams , Steven Rostedt , Juri Lelli , Ingo Molnar , Will Drewry , Andy Lutomirski Subject: Re: [RFC patch 09/19] bpf: Use BPF_PROG_RUN_PIN_ON_CPU() at simple call sites. Message-ID: <20200221140512.GG18400@hirez.programming.kicks-ass.net> References: <20200214133917.304937432@linutronix.de> <20200214161503.804093748@linutronix.de> <87a75ftkwu.fsf@linux.intel.com> <875zg3q7cn.fsf@nanos.tec.linutronix.de> <202002201616.21FA55E@keescook> <87lfownip5.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87lfownip5.fsf@nanos.tec.linutronix.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 21, 2020 at 03:00:54PM +0100, Thomas Gleixner wrote: > Of course not. If we'd run the same thread on multiple CPUs in parallel > the ordering of your BPF programs would be the least of your worries. Been there, done that. It goes sideways *REALLY* fast :-)