[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ramdisk_size



On Thu, Aug 25, 2005 at 02:24:29PM +0200, Thiemo Seufer wrote:
> Frans Pop wrote:
> > On Thursday 25 August 2005 10:29, Geert Stappers wrote:
> > > > -append="cdrom ramdisk_size=16384 devfs=mount rw"
> > > > -initrd=/boot/initrd.gz
> > > > +append="cdrom ramdisk_size=18000 devfs=mount rw"
> > >
> > > I would expect 17408 or 18432, because they are Mib boundaries
> > 
> > Do you have some documentation for that?

 http://lxr.linux.no/source/Documentation/ramdisk.txt#L42
speaks about 'k' and a default of 4096

> > Nothing seems to break if you use other values.
> > What is the benefit of using Mib values?
> 
> Any multiple of PAGE_SIZE is ok.

AFAIK MMUs is a memory page a power of two. ( 2, 4, 8, 16 , 32 )
with Mib values ( 1024 is 2^10 ) are we allways save.


Cheers
Geert Stappers

Attachment: signature.asc
Description: Digital signature


Reply to: