Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp345215pxb; Thu, 31 Mar 2022 06:50:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1/RFp25vlmDkxKqKSauMPL0MzzVFYD7Q5axPdFQf0Rqeu4zcqVMSNV6qlY4Ok3ihoXAB7 X-Received: by 2002:a17:906:2695:b0:6cf:e1b4:118b with SMTP id t21-20020a170906269500b006cfe1b4118bmr5086538ejc.348.1648734636776; Thu, 31 Mar 2022 06:50:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648734636; cv=none; d=google.com; s=arc-20160816; b=tjkobU5wSgMjcpFg5sPdWAzIYc6LEIueh9sR3vzlb7ie2AfGP3Q7H0buvQJKd6+2vL qNmxoEq3QfZ4j/6+4T8TQUZpm0JmFLWFiL5AkLlqNH3omU/yL9+Cl1yMWTcjNv5s9tPJ 6FyhOVWVuFG3pEFitX3KHw9gnom6lzQnCKbTCUN8gA5nTgGBhUejMYAilgelEtdZCbCy FkkKgYTI0zM76XeL5B+w1gBZeY0aBkILbYtzaGplLr5tU77rNycAMOyGEq5AcW95qeOI pvJy1nAD4LrpgvwSFv7GUREyBM1kj2VVZtuw8lvq9xMEUommKHe15NUe8B1giURnPjnt 2IAg== 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=WOfN1zSRjptZAUZT3O3OzXXmql778jlxAt5qXLDnMyQ=; b=sWtGETbVuPESEOJD7kPbN6D6XQP6MMWDJdEZHtHtQ41Skm3g8nTJVRY6eRhfcRLRn8 edEEwgl+6IvyRUq3ojphw6BmJkhzkeE0AavYQFmPi6nnpM0uPIPFlo+NNmW11HuoE/WD GB/QSKSdsEAXaW3Lcej7zWH4lRLl/b/9Vnhng1zK26Y9YFhWFuhBjW2n9kpjuCyWBWN5 KxOLNxzAWTx4EozwX3pQW2c9NRPH7PBRkjcrPzo80lSFJwAmKvnwiqVIhiqHf9CCX7ti WvXZanHj+6jPnTT4/i2GNwX/Xk8PVki1efKIgipD1WlpJSFSs4qFKRbj/DSrb2vNr4kx m7zw== 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 w14-20020a1709062f8e00b006e02924245csi24843230eji.714.2022.03.31.06.50.10; Thu, 31 Mar 2022 06:50:36 -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 S235911AbiCaMPc (ORCPT + 99 others); Thu, 31 Mar 2022 08:15:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234316AbiCaMPa (ORCPT ); Thu, 31 Mar 2022 08:15:30 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40D3F1A3B6; Thu, 31 Mar 2022 05:13:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D3CB9B820C2; Thu, 31 Mar 2022 12:13:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B8CAC340F3; Thu, 31 Mar 2022 12:13:38 +0000 (UTC) Date: Thu, 31 Mar 2022 08:13:37 -0400 From: Steven Rostedt To: Masahiro Yamada Cc: Mathieu Desnoyers , Linux Kernel Mailing List , Beau Belgrave , Masami Hiramatsu , linux-trace-devel , bpf , Network Development , Alexei Starovoitov , Linus Torvalds , Michal Marek , Nick Desaulniers , Linux Kbuild mailing list Subject: Re: [PATCH] tracing: do not export user_events uapi Message-ID: <20220331081337.07ddf251@gandalf.local.home> In-Reply-To: References: <20220330201755.29319-1-mathieu.desnoyers@efficios.com> <20220330162152.17b1b660@gandalf.local.home> 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=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,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 Thu, 31 Mar 2022 16:29:30 +0900 Masahiro Yamada wrote: > Well, the intended usage of no-export-headers is to > cater to the UAPI supported by only some architectures. > We have kvm(_para).h here because not all architectures > support kvm. > > If you do not want to export the UAPI, > you should not put it in include/uapi/. > > After the API is finalized, you can move it to > include/uapi. So a little bit of background. I and a few others thought it was done, and pushed it to Linus. Then when it made it into his tree (and mentioned on LWN) it got a wider audience that had concerns. After they brought up those concerns, we agreed that this needs a bit more work. I was hoping not to do a full revert and simply marked the change for broken so that it can be worked on upstream with the wider audience. Linus appears to be fine with this approach, as he helped me with my "mark for BROKEN" patch. Mathieu's concern is that this header file could be used in older distros with newer kernels that have it implemented and added this to keep out of those older distros. The options to make Mathieu sleep better at night are: 1) this patch 2) move this file out of uapi. 3) revert the entire thing. I really do not want to do #3 but I am willing to do 1 or 2. -- Steve