public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Friesen <cfriesen@nortelnetworks.com>
To: Andrey Borzenkov <arvidjaar@mail.ru>
Cc: Jeff Garzik <jgarzik@pobox.com>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Is initramfs freed after kernel is booted?
Date: Mon, 17 Nov 2003 10:39:46 -0500	[thread overview]
Message-ID: <3FB8EBC2.1080800@nortelnetworks.com> (raw)
In-Reply-To: E1ALlQs-000769-00.arvidjaar-mail-ru@f7.mail.ru

Andrey Borzenkov wrote:

> my example is after pivot_root. I still have two roots.
> 
> To clarify. I want to replace initrd with initramfs. Given all
> the stuff may be put in it can easily be expanded to a couple of MBs.
> initrd frees this. I do not want to waste RAM to leave them in initramfs.

Absolutely, the memory should be reclaimed.  I would have thought that 
you could just unmount it--if the pivot_root is done properly there 
shouldn't be any references left to the initramfs.

Jeff?

Chris


-- 
Chris Friesen                    | MailStop: 043/33/F10
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com


  reply	other threads:[~2003-11-17 15:40 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-16 17:09 Is initramfs freed after kernel is booted? Andrey Borzenkov
2003-11-16 19:51 ` Jeff Garzik
2003-11-17 14:39   ` Chris Friesen
2003-11-17 15:36     ` "Andrey Borzenkov" 
2003-11-17 15:39       ` Chris Friesen [this message]
2003-11-17 15:46         ` Jeff Garzik
2003-11-17 18:32           ` Bryan O'Sullivan
2003-11-17 15:47         ` Kevin P. Fleming
2003-11-17 16:06           ` Chris Friesen
2003-11-17 16:25             ` Erik Mouw
2003-11-17 17:25             ` viro
2003-11-17 17:47               ` viro
2003-11-17 17:50               ` Chris Friesen
2003-11-17 18:03                 ` viro
2003-11-17 18:33                   ` Andrey Borzenkov
2003-11-17 19:15                     ` viro
2003-11-19 14:19                       ` Olaf Hering
2003-11-19 15:07                       ` Hannes Reinecke
2003-11-25 18:26                         ` Manuel Estrada Sainz

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=3FB8EBC2.1080800@nortelnetworks.com \
    --to=cfriesen@nortelnetworks.com \
    --cc=arvidjaar@mail.ru \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox