Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3254513img; Mon, 25 Mar 2019 06:50:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqybyJONN9rHl3SiECx44xIpDKnVmTgo0oLr/sYnpHnFzffWbYETFfCA8KDVg4g8LEGzaFHI X-Received: by 2002:a17:902:3183:: with SMTP id x3mr25187135plb.170.1553521855816; Mon, 25 Mar 2019 06:50:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553521855; cv=none; d=google.com; s=arc-20160816; b=xzSTmPd0Pyox74JzakT6NuZok3rmucyxeIIboVG4RPKfV4c67Ca2ZAOML7nhbt84mx M+/073/ZJml8gxJ4ss8EVREeXx5WqMMmQmD5npngtCaW6FbJXxQiwaQCEfmbvbOogNhr lGuyhKeFoGQW3BwTQkx3gTyFQ3yBVN6IlAOwDbT9soLKd37HbK9JmRPTFxzW5ZKaFfhL hhzPt6cOzFRnxSC04S7sbs3MTmaVWYxc55CERL5nYKACY7BcE5CFUNPW68DPzF7x+zeJ o3Pp0PryPv6WAGRi8Bg91YgNP7u13ejKr7LyQ8pFCzuh7JUi5jXNggl6iGgKRpoPLriy S4DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gEMxR3R8hBEpdUjHceXVmy1fI1OviFSo7Nzefk6Rk0c=; b=jhPYODFKkPPpUWCsFBcJVRnaHak+6FhQ5xLZs1mrRSYOKYmVQ3xPK2Jmteegi7uunn mo9W40WIxErArn8ssUxRMb+ZS95r0oCxgF/07KdskyciiwTClqhu2c+x+hMQ6kZZyzUS Ub3W7GZ+qRzBsFNHEzG8qrucqjLnxZmpouHVNlYcHyhVVIUoY2xbHO12Y/9EJh1+OSu9 TmXQnXhGUhiu8QGYRDPESMfpe/64jsIrl1Nryj5kiUyfjvThGEHcX+lBVXO1D9GYUg7m fMt9dOsTCsU1aGoyDU2+/vDKpj3z7Nu3Vuh5HBNHMk3wBESOEQivv9MGmeTcV575MQBl m3yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=KfrrI3Vp; 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 h6si11843594pfn.13.2019.03.25.06.50.40; Mon, 25 Mar 2019 06:50:55 -0700 (PDT) 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=KfrrI3Vp; 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 S1729273AbfCYNtu (ORCPT + 99 others); Mon, 25 Mar 2019 09:49:50 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:45890 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728959AbfCYNtu (ORCPT ); Mon, 25 Mar 2019 09:49:50 -0400 Received: by mail-pf1-f196.google.com with SMTP id e24so5615850pfi.12 for ; Mon, 25 Mar 2019 06:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=gEMxR3R8hBEpdUjHceXVmy1fI1OviFSo7Nzefk6Rk0c=; b=KfrrI3VpHzDfm+Fo6yJwhGo1KsoPzZdLadcmNAfepasR4k0Zoqf0byf/mXPV8y22EV xckeKuzr63x4zukHO9VmiNCxCAmyBWP4px9fYcjRPIkTZY1BBsFqVv/iYrqjorRj2Fcz Jp9WnLuu/hzw4wazOoNB6XyuJTKLA1hoptFeU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=gEMxR3R8hBEpdUjHceXVmy1fI1OviFSo7Nzefk6Rk0c=; b=IB52Pg+jtJ0rxmFMSHSELFSoMTiopEVYqj2o4C8YkMghbBFB9b1Z+EljVRQjy31ZT2 6MBPHOzIoPZdUE5JYozqBDBVcQJAlhdfwEbjnCBdkq4y8QjkmX1vx8ZQI1fxhbvxClm2 +o4ReQzuZpW5vBRY1pr6n1FsCRwZejZs03hFKhHzjBWUedc3C3R/CLahLHanDXSB9RBO EdUhXVB2h0pbps9TrQyCRwfTc+e5xt4aEraMdeLwSQeGzf910bVYlFUHd9vTCebkjWYo +/7DjOlMgmbTWkrYhWrbhPG5TVBrC14q0pnTg0wMbwnJhReMtT0NVZgHrOUUlrC3Zr/F avkg== X-Gm-Message-State: APjAAAWlyYgdTsZ3Jw2GWs48vmgq2e7aqsmkVueH44rHLgj4OPs4BU3q hRaIQDy0wQ1E9lVy8ZggTbMU4g== X-Received: by 2002:a63:ca:: with SMTP id 193mr23340447pga.288.1553521789564; Mon, 25 Mar 2019 06:49:49 -0700 (PDT) Received: from localhost ([2620:15c:6:12:9c46:e0da:efbf:69cc]) by smtp.gmail.com with ESMTPSA id r86sm25637914pfa.82.2019.03.25.06.49.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Mar 2019 06:49:48 -0700 (PDT) Date: Mon, 25 Mar 2019 09:49:47 -0400 From: Joel Fernandes To: Alexei Starovoitov Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , ast@kernel.org, atishp04@gmail.com, dancol@google.com, Dan Williams , gregkh@linuxfoundation.org, Jonathan Corbet , karim.yaghmour@opersys.com, Kees Cook , linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, Manoj Rao , Masahiro Yamada , paulmck@linux.vnet.ibm.com, "Peter Zijlstra (Intel)" , rdunlap@infradead.org, rostedt@goodmis.org, Shuah Khan , Thomas Gleixner , yhs@fb.com Subject: Re: [PATCH v2 1/2] Provide in-kernel headers for making it easy to extend the kernel Message-ID: <20190325134947.GA187133@google.com> References: <20190211143600.15021-1-joel@joelfernandes.org> <20190215031926.ljzluy2cfxp64u6o@ast-mbp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190215031926.ljzluy2cfxp64u6o@ast-mbp> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 14, 2019 at 07:19:29PM -0800, Alexei Starovoitov wrote: > On Mon, Feb 11, 2019 at 09:35:59AM -0500, Joel Fernandes (Google) wrote: > > Introduce in-kernel headers and other artifacts which are made available > > as an archive through proc (/proc/kheaders.txz file). This archive makes > > it possible to build kernel modules, run eBPF programs, and other > > tracing programs that need to extend the kernel for tracing purposes > > without any dependency on the file system having headers and build > > artifacts. > > > > On Android and embedded systems, it is common to switch kernels but not > > have kernel headers available on the file system. Raw kernel headers > > also cannot be copied into the filesystem like they can be on other > > distros, due to licensing and other issues. There's no linux-headers > > package on Android. Further once a different kernel is booted, any > > headers stored on the file system will no longer be useful. By storing > > the headers as a compressed archive within the kernel, we can avoid these > > issues that have been a hindrance for a long time. > > The set looks good to me and since the main use case is building bpf progs > I can route it via bpf-next tree if there are no objections. > Masahiro, could you please ack it? FYI, Masahiro's comments were all address by v5: https://lore.kernel.org/patchwork/project/lkml/list/?series=387311 I believe aren't more outstanding concerns. Could we consider it for v5.2? thanks, - Joel