public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kalin KOZHUHAROV <kalin@thinrope.net>
To: linux-kernel@vger.kernel.org
Subject: What is the maximum size in ramdisk_size boot parameter?
Date: Tue, 07 Sep 2004 21:05:39 +0900	[thread overview]
Message-ID: <chk86k$smh$1@sea.gmane.org> (raw)

Hello,
I am trying to boot my laptop via PXE and I still am in the middle of nowhere...

So, while trying to cram more and more stuff on a ramdisk, I started seeing "strange behaviour" and this got me thinking, is there a limit to ramdisk_size boot parameter??

Looking at drivers/block/rd.c (on 2.6.8.1) I couldn't find anything like that...
So is there any intrinsic upper limit, apart from the total RAM size?

And what happens if I say ramdisk_size=10240 (10MB) and I load only 1MB image into it.
Will the "unused" memory be freed? i.e. is the size dynamically allocated (<docs) and the ramdisk_size is only the upper bound?

Kalin.

-- 
 || ~~~~~~~~~~~~~~~~~~~~~~ ||
(  ) http://ThinRope.net/ (  )
 || ______________________ ||


                 reply	other threads:[~2004-09-07 12:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='chk86k$smh$1@sea.gmane.org' \
    --to=kalin@thinrope.net \
    --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