Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7922575rwd; Tue, 20 Jun 2023 07:59:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ70mWa80TxEpcj7KmLFIFJ5AvW437m+VKtyNuFKQdWyb3LuJ6tfMPnlsvuXvwwDtYQo0SRA X-Received: by 2002:a05:6a00:2303:b0:668:8c3c:313e with SMTP id h3-20020a056a00230300b006688c3c313emr4043157pfh.22.1687273151758; Tue, 20 Jun 2023 07:59:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687273151; cv=none; d=google.com; s=arc-20160816; b=N8Dhz+6gVbq91efXUcyiKN7qNusewa6MIBERA3TSlGtDhv5kMG2ZXG7/rsEqaE9jXY +4mq8w/MFiQN+UMz+mgqnc8ZZSo8Rvu0Kc1IHGuSRxj14HV8tePLsjuP5NLDGUb/Zc+Y bLURODc4uia802LqKx/CAedh07gDL+IyRkLQmWQQO59bfhE2ChuVm3htUQLbxi9xDROP hUVsktKKJ7KcWbfOaYFPFaKxazAN9vJt/dQTK/NLjncvkAOfYGc8v3xgfhvJOcRxQ60O Y9zcZROWEBunqCL3fNhySmCuSTJ2t21EGhfv1vZUXx+uCy4AX8R3HvgaM6I6n8wTWDIX H1XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=FFWHBOK8VPsrQABqmyKDeEmbfZVE1QInD/qSoxpelpE=; b=Xy7wDnPWfZRBwZ1PsMAI2wi3TiAgnH3BW67rB5TUrNqdEFLF28un0zN9nhtxiYRlFD BlE31M5ibMEdHvVmtTpFEQUmzz0lT62ZMZSOWJfjw2kwMZr6MbJho4c9SoippdvMhWFX iuE7qUTuW8Z6QoehMbxxKMrvnxqm+d48LLekgGFlqg8io+gj6PAfExsvCkDJgkpw6jjD 0f2YF4+x1JV7IkR1+6C8HgrYLIDyUovf/BTyWjjcjYvi1U2hokgCk03i2WNvlQy9iL7c WHlJNT6Z3pq4t1Sek4vdAUqDk+R8gkOIGiyU63SAlrq1l0YdF3CFEKFsDggZNRnYp/6v 3cgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l63-20020a639142000000b00542924cbf79si1956461pge.390.2023.06.20.07.58.58; Tue, 20 Jun 2023 07:59:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233184AbjFTOvV (ORCPT + 99 others); Tue, 20 Jun 2023 10:51:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233418AbjFTOvQ (ORCPT ); Tue, 20 Jun 2023 10:51:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B2AD173D; Tue, 20 Jun 2023 07:51:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1A2DE6124C; Tue, 20 Jun 2023 14:51:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC9B6C433CA; Tue, 20 Jun 2023 14:51:06 +0000 (UTC) Date: Tue, 20 Jun 2023 10:51:04 -0400 From: Steven Rostedt To: Thomas Gleixner Cc: Kent Overstreet , Mike Rapoport , linux-kernel@vger.kernel.org, Andrew Morton , Catalin Marinas , Christophe Leroy , "David S. Miller" , Dinh Nguyen , Heiko Carstens , Helge Deller , Huacai Chen , Luis Chamberlain , Mark Rutland , Michael Ellerman , Nadav Amit , "Naveen N. Rao" , Palmer Dabbelt , Puranjay Mohan , Rick Edgecombe , Russell King , Song Liu , Thomas Bogendoerfer , Will Deacon , bpf@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, linux-parisc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, netdev@vger.kernel.org, sparclinux@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH v2 06/12] mm/execmem: introduce execmem_data_alloc() Message-ID: <20230620105104.60cb64d8@gandalf.local.home> In-Reply-To: <87h6r4qo1d.ffs@tglx> References: <20230616085038.4121892-1-rppt@kernel.org> <20230616085038.4121892-7-rppt@kernel.org> <87jzw0qu3s.ffs@tglx> <20230618231431.4aj3k5ujye22sqai@moria.home.lan> <87h6r4qo1d.ffs@tglx> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 19 Jun 2023 02:43:58 +0200 Thomas Gleixner wrote: > Now you might argue that it _is_ a "hotpath" due to the BPF usage, but > then even more so as any intermediate wrapper which converts from one > data representation to another data representation is not going to > increase performance, right? Just as a side note. BPF can not attach its return calling code to functions that have more than 6 parameters (3 on 32 bit x86), because of the way BPF return path trampoline works. It is a requirement that all parameters live in registers, and none on the stack. -- Steve