public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* What is the maximum size in ramdisk_size boot parameter?
@ 2004-09-07 12:05 Kalin KOZHUHAROV
  0 siblings, 0 replies; only message in thread
From: Kalin KOZHUHAROV @ 2004-09-07 12:05 UTC (permalink / raw)
  To: linux-kernel

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/ (  )
 || ______________________ ||


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-07 12:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-07 12:05 What is the maximum size in ramdisk_size boot parameter? Kalin KOZHUHAROV

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox