Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5425238imb; Thu, 7 Mar 2019 15:42:38 -0800 (PST) X-Google-Smtp-Source: APXvYqyoyqROgxBD5GRVbLjaC5fsdpxCglVOmjANYY4AXXZ91EgPPjhb9aGNP+z1J5QmPR7fAe27 X-Received: by 2002:a65:6290:: with SMTP id f16mr13790840pgv.106.1552002158743; Thu, 07 Mar 2019 15:42:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552002158; cv=none; d=google.com; s=arc-20160816; b=jLeufAk1m+Mx9Ob0X2/neRyRFP4AEE1NQ4YqA19AvlbIynhbBMpVnRRM/Sv/1sLcU4 BrEo5e3VOeqg1qwqNKnlAYwNgW9jDOsFDZWsnX9p0zxuqliZbnPmmlNE5vr5q0exL93l M4gC0Y04eULsYsaIhT1iUyyuG8Qt/TUleGF3CLGCpZPmSSKAG7VRDCrzZCHQsKie0rA2 FUN+KxC9VMP69QMOi4L7mjyWrkkswAm+8ow3z2PEDf05diuVXOFzjtNwHbZRwB22Ps7A oim1coAUVxGP2ehx91Xfypz9i33Z15SwkbOiWByec5azpuK2ekNotCyYrHK2Bn1DfCeT Sspg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date; bh=JFu5WLbGMZ3gmcRlsL+mJ26/pr1BaMFMeE+SFY38IeY=; b=qWyakPHQAAwjWBvdN/CGzA2jgOP4CmCJpT0DBgTkw+2JUEe+P1pft38zl7g+KsC0Uj STIrZrLUG9pkOjr/KS7Uz2YPQoFif6T6PNusi132Uzlc2rnVjTkwQ48aTw0n/fY+I/ZX cK98+blzX+8CfDO32zvd3FqVcRk17L/FOKtK1HzAqYDA+zF5QNlTadhnaAUYhv0TQTiP o0qx9URSw8d00Rq35/xt9+ry9vA1gTcaw4/jqo/qRwyLFKmwHaghAeKXFbRkjxDKiyNH VTxEAh5E+MeNZpbGznzCs6SnsdY531wSVICNoOZG7dvEhMBSXkBz/UXQqg7ROzKdZUaw STlw== ARC-Authentication-Results: i=1; mx.google.com; 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 c15si5021431pgj.13.2019.03.07.15.42.22; Thu, 07 Mar 2019 15:42:38 -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; 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 S1726283AbfCGXmC convert rfc822-to-8bit (ORCPT + 99 others); Thu, 7 Mar 2019 18:42:02 -0500 Received: from terminus.zytor.com ([198.137.202.136]:38737 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726172AbfCGXmC (ORCPT ); Thu, 7 Mar 2019 18:42:02 -0500 Received: from [10.175.10.100] ([134.134.139.92]) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id x27Negpo2390837 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 7 Mar 2019 15:40:42 -0800 Date: Thu, 07 Mar 2019 15:40:37 -0800 User-Agent: K-9 Mail for Android In-Reply-To: <20190307231207.GA51897@google.com> References: <20190120155838.GA23827@google.com> <20190306230944.GB7915@amd> <754146f0-8b57-8644-81c1-528b5ca7dba1@zytor.com> <0c46ab5f-8bd6-6916-fc4a-b6f00d456011@metux.net> <5ebec282-57b0-6ebe-0876-ce0dd7b0c11c@metux.net> <20190307205505.GB30028@kroah.com> <5e558126-9038-1ca5-4519-7b5864ca9fa1@metux.net> <20190307231207.GA51897@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel To: Joel Fernandes , "Enrico Weigelt, metux IT consult" CC: Greg KH , Daniel Colascione , Pavel Machek , linux-kernel , Andrew Morton , ast@kernel.org, atish patra , Borislav Petkov , Ingo Molnar , Jan Kara , Jonathan Corbet , Karim Yaghmour , Kees Cook , kernel-team@android.com, "open list:DOCUMENTATION" , Manoj Rao , Masahiro Yamada , Paul McKenney , "Peter Zijlstra (Intel)" , Randy Dunlap , rostedt@goodmis.org, Thomas Gleixner , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , yhs@fb.com From: hpa@zytor.com Message-ID: <6773AB0F-C197-4465-80D2-3F7DA28EF790@zytor.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On March 7, 2019 3:12:07 PM PST, Joel Fernandes wrote: >Enrico, > >On Thu, Mar 07, 2019 at 11:11:22PM +0100, Enrico Weigelt, metux IT >consult wrote: >> On 07.03.19 21:55, Greg KH wrote: >> >> > Ick, no, no more squashfs please, let's just kill that mess once >and for >> > all :) >> >> okay, then: s/squashfs/whatever_fs_image_or_archive_you_like/; >> >> > Again, putting this in a simple compressed tar image allows anyone >to do >> > whatever they need to with this. If they want a full filesystem, >> > uncompress it and use it there. If they just want it in-memory >where >> > they can uncompress it and then discard it, that works too. >> >> And let me stress the point: doesn't need any kernel changes at all, >> when it's just a file in the same place where the .ko's live. > >Yes, but you're missing the point that some people would also opt to >build it >into the kernel during their development/debugging (Config=y). For such >folks, they don't want to update the FS with anything during debug runs >either. Your "whole same place where the .ko lives" doesn't address >Daniel's >usecase. You may say "initrd", but this is a much cleaner solution to >that >IMO. There is no initrd needed and the path to the header files will be >at a >standard location that is already pre-decided by the kernel. > >As Greg said, you are welcome to keep it disabled for yourself if you >don't >want it. This doesn't affect anyone else who doesn't use it. You do know that initrd can be built into the kernel, right? -- Sent from my Android device with K-9 Mail. Please excuse my brevity.