Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp749894ybv; Wed, 5 Feb 2020 13:54:34 -0800 (PST) X-Google-Smtp-Source: APXvYqwD1eYjFfrKfdtAtfe8T1YMUSr0Z4clGccC6CWhPIoQVD4py0GQ34cz0zzqXneqznuBTvpG X-Received: by 2002:a05:6830:22cd:: with SMTP id q13mr28138235otc.224.1580939674309; Wed, 05 Feb 2020 13:54:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580939674; cv=none; d=google.com; s=arc-20160816; b=CCEhIw/nfoD7FvT45hcfPTvR1jGAfAOfIO8GfXLru2fHGd2bqufb6Jr53IYpKzeib+ AtaSSr8j6Esld1ivFDNJXc1Fbsg8Yf5zfYlD7tEDBKXKA1sDeuXCuxn25b/KplxxGqii ANc8hCeY/QZFdeMOvrFlZZg+/AiNJK5es9t04dI3civWSWwsansuQlwMYW7Wa66WgODK v53wTxLUpJ6gIsLze485PT5NB5TrUJlwhDVmTulCoC17TGirOlaD96F+HDAYqDCyi/CZ SBW7vxSsiAa1CWqnADYKrfhBAMknh1riBDf7NHgo2VBliXMErwnKO6CgZwGmrLzgIXFL OQvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=MIZWPxqzRXVWJ+Ic+8hIOYHDUnRhZs/23Y0wxfGuu50=; b=L5uy/HUkA+B+tdvAVqNgpulaZv+gZa3F2NHfL+WCc4VNTFNcvvS2rPhh9lMWpLBJxy xRezUSbgxAww52wRxCfGECSKDDRREjXVBs5kVbWhZ30gqUWaaAPj7b4SD/ErY7/gosxn StwOrioWm7+uwvb2q1P/qw1tvMEm1kPG591Fc67AZ4s4bDGuNClF/7mU8z4CVOgIeQ1v ohp+TgJy5u+pR4ilabHCtkYXVQTCxSX91u0l0IfuI8wEZW5+bIiSluvPY23hK/6GvEfb nuTAYd0+KCXX/2l+cDr2bcoVze+Oqj40ceelHAcjta3yfiz1JNasQSWUC3yLtmmv1+zo bHkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=KnwHUgQG; 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 i78si944101oib.1.2020.02.05.13.54.21; Wed, 05 Feb 2020 13:54:34 -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=pass header.i=@joelfernandes.org header.s=google header.b=KnwHUgQG; 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 S1727033AbgBEVx3 (ORCPT + 99 others); Wed, 5 Feb 2020 16:53:29 -0500 Received: from mail-qv1-f67.google.com ([209.85.219.67]:41987 "EHLO mail-qv1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727109AbgBEVx2 (ORCPT ); Wed, 5 Feb 2020 16:53:28 -0500 Received: by mail-qv1-f67.google.com with SMTP id dc14so1877347qvb.9 for ; Wed, 05 Feb 2020 13:53:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MIZWPxqzRXVWJ+Ic+8hIOYHDUnRhZs/23Y0wxfGuu50=; b=KnwHUgQGUNZbFj3rH4Z0EEhz7PCS6Z9wYfSH9eL4TLB/xohszjfi6RhmLw9HzUkEda gfqgK/qtDD4MJRJxn/dtri6oDbBXtiUUZV402IVYVH56tDpMsBlSDdmBy1S0DVZvqNEq Oe9LCnjug5VsOY8/k0EZlZuKVsNkoCwQGWJbo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MIZWPxqzRXVWJ+Ic+8hIOYHDUnRhZs/23Y0wxfGuu50=; b=hiKn4T8w3GUt/dwFm9Iqc2X70pBEvNvPP5Xzl2DvGNiPWyM8RrBIWwY9i4PgHRdM+o vWs/OM+I0M0n2nE86e0zj6mtj92L9kk6kY49eyqe86ThydAqwnKErV454cjepA5R027Y LIjZe2+6Vpl5E5IH6rhCZd6ILxV+GUm+qNOrPqdpl3yeUUYfgjPWk5bu2lOxAgg7OrYU QtZ00knQ+ELf+cPDXiEIDCQs7BeqAZRQ7oTuMfzAVYjYHWoW+HMYUtMNXGeNG29WNv4y gq/opcMFMbiSTIXI+TQ+KdFawE4CjFfsRSQj6RlhQ2Kn3/fDAwGKury4LpiA4ro9dLM2 TyCw== X-Gm-Message-State: APjAAAW4lqUpfxfHnnTBrIiz+gDSSMY7hJIrROfYwV9Gs5/e9hCQG+Ax yTR7VEO+M6skSZEz3GnNH0Ws4WbaTxhf56e5GF01sg== X-Received: by 2002:a05:6214:287:: with SMTP id l7mr34917177qvv.142.1580939606245; Wed, 05 Feb 2020 13:53:26 -0800 (PST) MIME-Version: 1.0 References: <20200205154629.GA1257054@kroah.com> <20200205160250.GG142103@google.com> <20200205171353.GI142103@google.com> <20200205213354.GB1465126@kroah.com> <20200205214841.GB1468203@kroah.com> In-Reply-To: <20200205214841.GB1468203@kroah.com> From: Joel Fernandes Date: Wed, 5 Feb 2020 13:53:15 -0800 Message-ID: Subject: Re: [PATCH] Revert kheaders feature To: Greg Kroah-Hartman Cc: Olof Johansson , Alexei Starovoitov , Masahiro Yamada , Michal Marek , Jonathan Corbet , Thomas Gleixner , Tejun Heo , Mauro Carvalho Chehab , David Howells , Patrick Bellasi , Krzysztof Kozlowski , linux-kbuild@vger.kernel.org, "open list:DOCUMENTATION" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 5, 2020 at 1:48 PM Greg Kroah-Hartman wrote: > > On Wed, Feb 05, 2020 at 01:35:56PM -0800, Joel Fernandes wrote: > > On Wed, Feb 5, 2020 at 1:33 PM Greg Kroah-Hartman > > wrote: > > [snip] > > > > > like the BTF approach is significantly better and said users are > > > > > hopefully moving forward to it quickly, and if they can't move > > > > > forward, then they're likely also not going to move forward to newer > > > > > kernels either? > > > > > > > > I think BCC runs on a lot of upstream machines. I think the migration > > > > strategy is a matter of opinion, one way is to take it out and cause some > > > > pain in the hope that users/tools will migrate soon (while probably carrying > > > > the reverted patches out of tree). Another is to migrate the tools first and > > > > then take it out (which has its own disadvantages such as introducing even > > > > more users of it while it is still upstream). > > > > > > Do we "know" what tools today require this, and what needs to be done to > > > "fix" them? If we don't know that, then there's no way to drop this, > > > pretty much ever :( > > > > Is there a real reason to drop it or a problem dropping this solves though? > > Olof had some reasons, but as we were drinking at the time when it came > up last night, I can't really remember them specifically. Hopefully he > does :) > But that didn't answer my question of "who is still using this"? I was > hoping we actually knew this given it was created for specific users. I think I mentioned this in a previous thread of this email. Several BCC tools are using it - see for example the criticalstat BCC tool which includes linux/sched.h : https://github.com/iovisor/bcc/blob/master/tools/criticalstat.py#L73 , or filetop BCC tool which uses struct dentry : https://github.com/iovisor/bcc/blob/master/tools/filetop.py#L101 These would break without kernel headers either on the host or via CONFIG_IKHEADERS. thanks, - Joel