Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp471310ybv; Wed, 5 Feb 2020 08:43:14 -0800 (PST) X-Google-Smtp-Source: APXvYqxksjX8YBq9j8/oa0d4Vtko2hJPYw+Odo845W57gbdleSSuUxh57lGy9GMX2EhE6jh1FX2O X-Received: by 2002:a05:6808:3b2:: with SMTP id n18mr3501418oie.146.1580920994328; Wed, 05 Feb 2020 08:43:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580920994; cv=none; d=google.com; s=arc-20160816; b=d/G5v2iXuWVf5XAeYX+rAGxVlu+3jkFXwuHeGswDT2umHdb9anx+ZuQjFDLbccq+sT QuWcOxjoArBRl0hyi+/C090CPL1Mb6ezdxtngtuFSNSlWhifx8Ix/Uut5Vx+6p4dxXrc Kxrx6Yi4Hd1/AtJGR3B0nwch+BZIJGie/E79JujofWC1X13iQZPes9Lct5mXelafnWG3 ewy2ceWwAQjFHaNaUuRMTy3DfZd3Y8JthAUh0P4z9mC93RN75HUpH7moVXUaDdY3E35M Nsy9IPVWc0EP63bJKQETNJioPmERMTP70SedNXivpa6Vwr2L6E95hT3XXGISLdaLjBUV do5Q== 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=FPWbNXa0GX365VDaKw4gf3KjLGpb9Q8z5VU+lOJXhdM=; b=JaTCxnUBSKPyPXGaBo5Siyc/hh/GALz5hzc3FRqG3vPfhcgvsLRDBNOWaRDYzLnly0 HWKYoS9MT73MmV+OuAsYQjRTYEhKnt/jAYUFnrKa/FtPH7faJA9UxKdEhvtVnY8dJVip VYdWjE0+wKxSZe+coeul2qe0tl4yKvUDRjHVHAFQUJ4jSnInXGxRTekAPXFQU1oX0GTo 5eo9ttWEpv+r97W7A/i5E20Xi+HZ8cDBt8y8+Ze9ZWTC47LzM1aTG1IGOaRyFNrT/ZnM W5XpanELccKt9IpvfQgHwNCkskEogr9AjTlrFBts3xWmqeTCXcUgC8hF50EWEXxmVQb0 KE5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=ptQ8OjU1; 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 m26si15547716otk.305.2020.02.05.08.43.01; Wed, 05 Feb 2020 08:43:14 -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=ptQ8OjU1; 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 S1727122AbgBEQmI (ORCPT + 99 others); Wed, 5 Feb 2020 11:42:08 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:35787 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726359AbgBEQmH (ORCPT ); Wed, 5 Feb 2020 11:42:07 -0500 Received: by mail-qt1-f195.google.com with SMTP id n17so2055806qtv.2 for ; Wed, 05 Feb 2020 08:42:06 -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=FPWbNXa0GX365VDaKw4gf3KjLGpb9Q8z5VU+lOJXhdM=; b=ptQ8OjU1TXuT5kt+I/z0l8OVastf6a/bSiWzp8PyNBxF+Q8Am+Jyooqf6GwwwmYL1q V0uc8J52AuP/qqfrWCzWLC2n+jnUs6xlcUt4HXyZFUrLfQxZr2dbFDC669A+3H66e4pl JyiYASJKysAQJlngZxa/tyzeadHEpVrRkYo80= 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=FPWbNXa0GX365VDaKw4gf3KjLGpb9Q8z5VU+lOJXhdM=; b=PVOVz+nvcF9lGS+3zVo4Zbm6eEDSTXdffv5GlpP9Xom66ywmtQ9zMHyLe63jUa12/g ANYtVmFFLCMLVvJaB8InxUotUfMFET0e63wObQPaIKe2xISUKZHuUEdk2mYBxTCTqbis wLheN7xbRcnQ6NiecgtRS2S+zjeZY1JSeTCb0L2Ua46xmJ1vYqEqvIeDJCcMLz7Zdl/k 6XDbeV8gtbqUSZCfpc0kVES7iW1P9oGnzNahUGvxuiOIUrejnO+km+bxNUdB6rQWmRJe Voc4bPNTdmSLJAShBFSCtMDuPRweFnmQTKStoiFhpRMq1OqHZ94G7/Ei7ocT/6cj4iGR EbYQ== X-Gm-Message-State: APjAAAXJDM2f73pGOic1yW+Ja/UHQVGY1cOULQqw6RCEADn57Z3olYtD 5VnNrQhpN/oFi0vhqhKYfUVUkxxT64RpnQI5Io0VNg== X-Received: by 2002:ac8:145:: with SMTP id f5mr33817629qtg.194.1580920926134; Wed, 05 Feb 2020 08:42:06 -0800 (PST) MIME-Version: 1.0 References: <20200205154629.GA1257054@kroah.com> <20200205160250.GG142103@google.com> In-Reply-To: <20200205160250.GG142103@google.com> From: Joel Fernandes Date: Wed, 5 Feb 2020 08:41:55 -0800 Message-ID: Subject: Re: [PATCH] Revert kheaders feature To: Greg Kroah-Hartman , Alexei Starovoitov Cc: Olof Johansson , 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" , LKML 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 8:02 AM Joel Fernandes wrote: > > On Wed, Feb 05, 2020 at 03:46:29PM +0000, Greg Kroah-Hartman wrote: > > Now that BPF does not need a copy of the kernel headers anymore in order > > to build programs, there's no real need for putting the kernel headers > > into a kernel module. So drop the feature quick, before someone starts > > using it :) > > Temporary Nack. Adding Alexei to the thread. > > I believe at the time of this going in, the BPF's BTF feature was not fully > ready or able to support the usecases. Especially because BPF programs can > call or use macros in kernel headers as well. > > Also, now BCC project does depend on this and so does bpftrace. Have both > of these tools migrated to use BTF and don't need CONFIG_KHEADERS to be > compiled? Sorry if I lost track. > Sorry to call it CONFIG_KHEADERS, obviously I mean CONFIG_IKHEADERS. thanks, - Joel