Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp704112pxb; Thu, 31 Mar 2022 15:32:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbc0WQi0JobDQt7kerAJ3Ldn/QMf4ng1IpoOoeMwJDG27JWuRepWKXNoe3rZkjtLS1SrsP X-Received: by 2002:a62:1ad3:0:b0:4fa:686f:9938 with SMTP id a202-20020a621ad3000000b004fa686f9938mr7825309pfa.6.1648765964464; Thu, 31 Mar 2022 15:32:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648765964; cv=none; d=google.com; s=arc-20160816; b=zORMpHhmncOXnEDoNeP0fEFYIL+K0nu/Sp4M7SVdB6R47t4kFmgnxWAd+vZo8cy30C LGxYJjQGMyxdfPE9vksFLF0bnHuKhLilrThQC5ueEPqiJF5qbbhCBwCby1VInnHlgXub TSAuhFWA/J7MxFN4sCz6QegVqG+pyYjeqZ48oiSDTHt8LG2EUTaXF800Dpk6F2E6FZM1 qR1tT2NhuDfpR872YiMtxjtaY1V+jAU1hN6NL9GH56pgeRKI3CMDzLtWVJj21T0zUSf0 7VOvHfxi5M8434oLLm6WrxyBr6F+QYdbnN/A/8Q7A+QXjENTr9v7q1cfqYlqRbw1OWL4 xyZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=Xj3diVC51HHwyTudn/M0r5QOTayxxsIWMzaIO802Bg8=; b=D8bin5/COi4Z4Zz6uKi4M95LNQblQe3/+2Qy8i3GcgL/igW2e9bJP2E+fehi46A2Ko mPfG3i0NbloOFHrrTWOJrmxHVn2gU5CF3f9E0GrZkOBoQ0c50rT/Lx743HVRkjqyRjeV Q0NOaebbKXINRK+1e7Il85i1pMvIUfmVJI8g1ftGRx0SUIBbKsqY3UItb+Bnkdp2BfdF QisHFXHryj1IcUBnHA8qx/YbC8geadYfQ6N3C2csGqkXcd2SDgSrP6IsN1d/s+3lgI9j +Nfbr/M1BNgvm/zti72Ov6I0D7j6P9cV0odVS/nQu5BpBDBACMBDwfGqPWqRYbLX7wdu ZhZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Nyzpaqtt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q3-20020a056a00088300b004fa7782f609si809611pfj.24.2022.03.31.15.32.28; Thu, 31 Mar 2022 15:32:44 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Nyzpaqtt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237712AbiCaOoX (ORCPT + 99 others); Thu, 31 Mar 2022 10:44:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232975AbiCaOoW (ORCPT ); Thu, 31 Mar 2022 10:44:22 -0400 X-Greylist: delayed 25921 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 31 Mar 2022 07:42:35 PDT Received: from conssluserg-02.nifty.com (conssluserg-02.nifty.com [210.131.2.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F049A215928; Thu, 31 Mar 2022 07:42:34 -0700 (PDT) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 22VEgKPq012732; Thu, 31 Mar 2022 23:42:21 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 22VEgKPq012732 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1648737741; bh=Xj3diVC51HHwyTudn/M0r5QOTayxxsIWMzaIO802Bg8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=NyzpaqttJpO4J1ZzydrjZpqd7D6RtCp9gc5ZaryOukEkB2uEhrhOZEzPKBiiH2Pvm ZAwp5rRZQ0v65p+oEbs8aetqGWncchcIk52/GtRWJNVLw1w2Do4znproVBs1S63MqO yPsX+oBzeMWa9c16wyGQ2FV5tMZivMUpr1Xj20sy/ShX/mC0hNPApxe1k10qh9PiJc erfRD+SlxyM3c1E5rxBvQ4iTP8pMDqn2rOskJbLjRRzAOoXwcXi9n7aVCIj+7z95l3 D4rLCYt3eKmlsDUIrYNGo2Pk6kZkFlHsuT5YPi2YPvduwmEaPpnxAzZoyNFguNhp35 XfOFKgOjyZrtw== X-Nifty-SrcIP: [209.85.216.47] Received: by mail-pj1-f47.google.com with SMTP id cm17so4232941pjb.2; Thu, 31 Mar 2022 07:42:21 -0700 (PDT) X-Gm-Message-State: AOAM533trCg/nd7R+M3YlhFoafo/RiL3iywrKLFI7hIQAGqinfZ4h4k+ f4zbs/+Rn9Bl7g1Lms5L9OFthAxwkuyp17udE7g= X-Received: by 2002:a17:90a:8405:b0:1bc:d521:b2c9 with SMTP id j5-20020a17090a840500b001bcd521b2c9mr6488510pjn.119.1648737740242; Thu, 31 Mar 2022 07:42:20 -0700 (PDT) MIME-Version: 1.0 References: <20220330201755.29319-1-mathieu.desnoyers@efficios.com> <20220330162152.17b1b660@gandalf.local.home> <20220331081337.07ddf251@gandalf.local.home> In-Reply-To: <20220331081337.07ddf251@gandalf.local.home> From: Masahiro Yamada Date: Thu, 31 Mar 2022 23:41:34 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] tracing: do not export user_events uapi To: Steven Rostedt 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL, T_SCC_BODY_TEXT_LINE autolearn=no 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, Mar 31, 2022 at 9:13 PM Steven Rostedt wrote: > > 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. I see. Either 1 or 2 is OK if you are sure this will be fixed sooner or later. -- Best Regards Masahiro Yamada