public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tobias Powalowski <tobias.powalowski@googlemail.com>
To: linux-kernel@vger.kernel.org
Subject: Possible bug in initramfs RAM handling
Date: Mon, 12 Jan 2015 17:20:31 +0100	[thread overview]
Message-ID: <54B3F44F.2010408@googlemail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

Hi,
I have a weird bug here with initramfs,
I have big initramfs files around 150MB zipped, 400MB extracted.
I suppose the needed RAM to boot this setup should be around:
150MB zipped initramfs+ 400MB extracted initramfs + 5MB kernel image.
Our distro kernel has tmpfs support, booting this setup without kernel
parameter needs around 1000MB RAM to boot.
Using rootfstype=ramfs makes it work with around 600MB RAM.

Is this a bug in kernel code?
Shouldn't both types not use the same amount of RAM?
I used kernel 3.18.2 at the moment but issue is reproducable with 3.15 too.

Thanks for your help.
greetings
tpowa

-- 
Tobias Powalowski
Archlinux Developer & Package Maintainer (tpowa)
http://www.archlinux.org
tpowa@archlinux.org





[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

             reply	other threads:[~2015-01-12 16:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-12 16:20 Tobias Powalowski [this message]
2015-01-21 20:38 ` Possible bug in initramfs RAM handling Lennart Sorensen

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=54B3F44F.2010408@googlemail.com \
    --to=tobias.powalowski@googlemail.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