All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Hugh Dickins <hugh@veritas.com>, Al Boldi <a1426z@gawab.com>,
	linux-kernel@vger.kernel.org, torvalds@osdl.org,
	stable@kernel.org, akpm@osdl.org, chrisw@sous-sol.org,
	grim@undead.cc
Subject: Re: [PATCH] initramfs:  Allow rootfs to use tmpfs instead of ramfs
Date: Mon, 31 Jul 2006 10:35:00 -0400	[thread overview]
Message-ID: <200607311035.01571.rob@landley.net> (raw)
In-Reply-To: <44CCFF09.2000106@zytor.com>

I am totally out of the loop here.  (BusyBox has been taking up all my time 
for months now...)

I thought rootfs already would be tmpfs whenever that was compiled into the 
kernel, but I suspect the kernel I was looking at to come to that conclusion 
wasn't vanilla.  Still, that implies this isn't the first patch out there to 
do this...

On Sunday 30 July 2006 2:48 pm, H. Peter Anvin wrote:
> There is some justification: embedded people would like to load 
> inittmpfs and then continue running.

Yup.  Embedded people who generally have no swap anyway.  (Swap to flash is a 
bad idea.)  However, I believe what they were after was the ability to limit 
the filesystem size so runaway logs don't trigger the OOM killer.

> The main issue -- which I am not sure what effect this patch has -- is 
> that we would really like to move initramfs initialization even earlier 
> in the kernel, so that it can include firmware loading for built-in 
> device drivers, for example.

I remember this was "pending" late last year.  Thought it had made it into 
2.6.16 or so.  I need _way_ more time to read the kernel list.  (I'm 50,197 
messages behind.  That's just silly...)

> Thus, if this patch makes it harder to push initramfs initialization 
> earlier, it's probably a bad thing.  If not, the author of the patch 
> really needs to explain why it works and why it doesn't add new 
> dependencies to the initialization order.
> 
> Saying "this is a trivial patch" and pushing it on the -stable tree 
> doesn't inspire too much confidence, as initialization is subtle.

It doesn't look like -stable material to me either.  It might be small enough 
to add to the current -devel cycle, but that's not my call.

Is there any current documentation on the kernel's init sequence other than 
reading init/main.c and friends?

> 	-hpa

Rob
-- 
Never bet against the cheap plastic solution.

  parent reply	other threads:[~2006-07-31 14:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-30 15:08 [PATCH] initramfs: Allow rootfs to use tmpfs instead of ramfs Al Boldi
2006-07-30 17:36 ` Hugh Dickins
2006-07-30 18:48   ` H. Peter Anvin
2006-07-30 21:03     ` Al Boldi
2006-07-31 19:24       ` H. Peter Anvin
2006-07-31 14:35     ` Rob Landley [this message]
2006-07-30 21:03   ` Al Boldi
2006-07-30 17:51 ` [stable] " Greg KH
2006-07-30 21:03   ` Al Boldi
2006-07-31 19:25     ` H. Peter Anvin
2006-07-31 20:58       ` Al Boldi
2006-07-31 23:20         ` H. Peter Anvin
2006-07-31 19:30     ` Chris Wright
2006-07-31 20:58       ` Al Boldi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200607311035.01571.rob@landley.net \
    --to=rob@landley.net \
    --cc=a1426z@gawab.com \
    --cc=akpm@osdl.org \
    --cc=chrisw@sous-sol.org \
    --cc=grim@undead.cc \
    --cc=hpa@zytor.com \
    --cc=hugh@veritas.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.