Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4112152imu; Sat, 19 Jan 2019 02:37:44 -0800 (PST) X-Google-Smtp-Source: ALg8bN7JI6ALcNvETeiBkJ3LYZAqXWSfa5rSbzEc6cFlH99aFZEiD7tHrrHThK0uQEKiEV54Kj2g X-Received: by 2002:a62:ea09:: with SMTP id t9mr23899695pfh.228.1547894264710; Sat, 19 Jan 2019 02:37:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547894264; cv=none; d=google.com; s=arc-20160816; b=X2Fabqu3JkgeW1Buy3MaEpX2CNvXavVYvFcN0sa/yTXh3Gp/yEeryyrsjITp9GR8n8 ODsL3dlMKEhrjUCthQKcKAnOFvz1Yig0Qy3eWzI/or7+ETZRLb5IxY4oEzdpfJg5cHT9 c4PauxYjIg2c6R2vOYMtWROW5EOIPu18IB+IZ56lKRuldwhiIjusCaZhrlpFGPdv/sxA fLTMOjdynb/a8AOrpDhv+qKRxziUBW/rb+zVHjfZlvROuwAo9dDt7Pb7nvWa6mdUbrtT Xdf75cTrlRaT6YgGvJ5F7+/fVLBa7MXs2uMi8FI9tVcPYnd2vKEr0dfQDGPjjBytKdz2 zBag== 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=qzhe8PoYuYnnTvT/E1VA5c80rVMIo0O6JEEKi+YV4fo=; b=RPYneZT9VsbslZov0RoNmjeRJlJ/sa8+a9r1Rh2WXQTLluK6cOwZY+ZrJWv0eUjMzJ CGWeUgfvnrZXD55HhdSEVZ8CX0FnTDd0vPYIt0S6sr9B9guIXB4SSSgJauauO4C7ZexP 02//J4KYXve3gk+Y2bLEeTRtqCvUc6rSX5CoL0LuDRQdRuoFU1iy02upB7yF2ld9NdWF dnWMY2Rn8iiPDaUqglREdVpuwj6VAb9h+W9hsfYvp93zSLwFPzRtqF6akK0/S4ANlMcQ P8M7JxgWWaXcFPbwlaDj1pqF/sVOIm+ctOYyioFcBPm1w4D8mRXGRTXK7PzgwrsA/6/9 nYBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GqFZanZI; 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 14si6228080pgg.425.2019.01.19.02.37.28; Sat, 19 Jan 2019 02:37:44 -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=@kernel.org header.s=default header.b=GqFZanZI; 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 S1727868AbfASKgJ (ORCPT + 99 others); Sat, 19 Jan 2019 05:36:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:55986 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727827AbfASKgI (ORCPT ); Sat, 19 Jan 2019 05:36:08 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C01192086D; Sat, 19 Jan 2019 10:36:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547894168; bh=3U4PIQl/PrnKDmY+bpECiFyQLnpE3k13kHJ+S61pFJ4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GqFZanZIO5CuU3U3KzpVqStPJXT+j3N2Jw8jHp0cX9G50DtfQuqnwphW69TP3WoXV N4JxTJS4Zhl4W1kvZLP483X+PFIvylo996ydL0zNZOzdDWYQA16yeRqCtVURYk1U9F Cp+Kp1omBKfy3Pkr5Sme9U11jhVd3aTrNVAjjE0E= Date: Sat, 19 Jan 2019 11:36:06 +0100 From: Greg KH To: Christoph Hellwig Cc: Joel Fernandes , linux-kernel@vger.kernel.org, Andrew Morton , ast@kernel.org, atishp04@gmail.com, Borislav Petkov , dancol@google.com, "H. Peter Anvin" , Ingo Molnar , Jan Kara , Jonathan Corbet , karim.yaghmour@opersys.com, Kees Cook , kernel-team@android.com, linux-doc@vger.kernel.org, Manoj Rao , Masahiro Yamada , paulmck@linux.vnet.ibm.com, "Peter Zijlstra (Intel)" , rdunlap@infradead.org, rostedt@goodmis.org, Thomas Gleixner , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , yhs@fb.com Subject: Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel Message-ID: <20190119103606.GA17400@kroah.com> References: <20190118225543.86996-1-joel@joelfernandes.org> <20190119102800.GB17723@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190119102800.GB17723@infradead.org> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 19, 2019 at 02:28:00AM -0800, Christoph Hellwig wrote: > This seems like a pretty horrible idea and waste of kernel memory. It's only a waste if you want it to be a waste, i.e. if you load the kernel module. This really isn't any different from how /proc/config.gz works. > Just add support to kbuild to store a compressed archive in initramfs > and unpack it in the right place. I think the issue is that some devices do not use initramfs, or switch away from it after init happens or something like that. Joel has all of the looney details that he can provide. thanks, greg k-h